update ungrib to handle files larger than 2GB#282
Conversation
|
Tag @mgduda for awareness. Thanks! |
|
@guoqing-noaa Can you let us know which dataset this PR will help? I assume this will have no effect on fields that are less than 2 GB? |
@weiwangncar Yes, it has no effect on files less than 2GB in size. I did tests using ungrib.exe before and after this PR and I got identical intermediate binary files. The RRFSv1 grib2 files cover the North American domain and each file is about 9GB in file size. Also, this WRF forum post has requested the capability to handle files larger than 2GB: https://forum.mmm.ucar.edu/threads/apparent-2gb-grib-file-size-limit.8758/ Thanks! |
|
@guoqing-noaa Thanks for the info, and that's good to know. We will run some checks too. |
|
@jimbresch Would you be interested in taking a look at this? |
long longC type to match Fortran'sINTEGER(KIND=8)