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

Topics related to running the ungrib.exe program
Post Reply
Saurabh
Posts: 6
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: 1482
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: 6
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: 1482
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

sluque
Posts: 1
Joined: Tue Jun 08, 2021 6:13 pm

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

Post by sluque » Tue Jun 08, 2021 6:32 pm

Hello!

I am having the exact same problem:

At line 147 of file output.f90 (unit = 13)
Fortran runtime error: Cannot open file './PFILE:2016-10-06_00': Invalid argument

Error termination. Backtrace:
#0 0x7f5c189abd01 in ???
#1 0x7f5c189ac849 in ???
#2 0x7f5c189ad52f in ???
#3 0x7f5c18bec5a6 in ???
#4 0x7f5c18bec89c in ???
#5 0x55b4e3b1e22f in ???
#6 0x55b4e3b1cb21 in ???
#7 0x55b4e3b1d172 in ???
#8 0x7f5c186560b2 in ???
#9 0x55b4e3b1683d in ???
#10 0xffffffffffffffff in ???


Everything seems to be linked in the correct way (link.png)

I checked and one of the files contains the information related to that date. (grib.txt).


Any help will be greatly appreciated.
Attachments
grib.txt
(30.87 KiB) Downloaded 1 time
link}.png

Post Reply

Return to “ungrib”