Cannot open file './PFILE:2020-09-13_00': Invalid argument

Topics related to running the ungrib.exe program
Post Reply
Saurabh
Posts: 5
Joined: Sun Sep 13, 2020 5:54 pm

Cannot open file './PFILE:2020-09-13_00': Invalid argument

Post by Saurabh » Sun Sep 13, 2020 6:02 pm

I am running ungrid.exe, and getting the following error.

At line 147 of file output.f90 (unit = 13)
Fortran runtime error: Cannot open file './PFILE:2020-09-13_00': Invalid argument
Error termination. Backtrace:
#0 0x7fc55ea1acd1 in ???
#1 0x7fc55ea1b819 in ???
#2 0x7fc55ea1c4ef in ???
#3 0x7fc55ec588b6 in ???
#4 0x7fc55ec58bac in ???
#5 0x55f2b2147109 in ???
#6 0x55f2b2145a1a in ???
#7 0x55f2b214604c in ???
#8 0x7fc55e6c60b2 in ???
#9 0x55f2b213f82d in ???
#10 0xffffffffffffffff in ???

any help is appreciated
Last edited by Saurabh on Mon Sep 14, 2020 5:39 pm, edited 1 time in total.

Ming Chen
Posts: 1101
Joined: Mon Apr 23, 2018 9:42 pm

Re: error in output.f90(unit=13)

Post by Ming Chen » Mon Sep 14, 2020 5:05 pm

This error clearly indicates that you don't have GFS data for the time 2020-09-13_00.
Please double check your GRIB files and enamelist.wps, make sure that ALL GFS data are available for the period specified in namelist.wps.
WRF Help Desk

Saurabh
Posts: 5
Joined: Sun Sep 13, 2020 5:54 pm

Re: error in output.f90(unit=13)

Post by Saurabh » Mon Sep 14, 2020 5:37 pm

Image: As you can see I do have files in place and linked to the GFSs. I checked the input dates of namelist.wps, that looks fine. But still, I am getting the error.
Attachments
Screenshot from 2020-09-14 23-01-57.png

Ming Chen
Posts: 1101
Joined: Mon Apr 23, 2018 9:42 pm

Re: error in output.f90(unit=13)

Post by Ming Chen » Fri Sep 18, 2020 9:04 pm

Would you please double check the file gfs.t00z.pgrb2.0p50.f000, and find what time it is for?
Please try the command
wgrib -s gfs.t00z.pgrb2.0p50.f000
or if you are familiar with NCL,
ncl_convert2nc gfs.t00z.pgrb2.0p50.f000
Then look at the netCDF file.
WRF Help Desk

Post Reply

Return to “ungrib”