[gradsusr] Build GrADS 2.20 from Source, Errors with GRIB2 and gribmap

Jennifer M Adams jadams21 at gmu.edu
Thu Feb 1 12:41:11 EST 2018


That __64BIT__ flag sets the typedef of a g2int to be ‘int’ instead of ‘long’. Removing it just means you use up a tiny bit more memory when doing grib2 operations. I am not sure why it’s the default in the g2clib makefile.
—Jennifer

> On Feb 1, 2018, at 12:24 PM, Wesley Ebisuzaki - NOAA Federal <wesley.ebisuzaki at noaa.gov> wrote:
> 
> Bill,
> 
> Seen that problem before and Fedora was bit by that bug.
> 
> Wesley
> 
> On Thu, Feb 1, 2018 at 10:42 AM, William Daniel Scheftic <scheftic at email.arizona.edu> wrote:
> 
> Hi Wesley,
> 
> Thanks for your help.  The grib file is fine, it is from the Rapid
> Refresh 32 km North American Grid.  The issue was in compiling the NCEP
> GRIB 2 library.  I just needed to remove
> 
> -D__64BIT__ from CFLAGS variable in the makefile.
> 
> Bill
> 
> 
> Message: 1
> Date: Wed, 31 Jan 2018 09:50:49 -0500
> From: Wesley Ebisuzaki - NOAA Federal <wesley.ebisuzaki at noaa.gov>
> 
> Hi William,
> 
> This line has me concerned:
> 
> |    GRIB2 I/O Error: Predefined bitmap applies (ibmap=47244640267)
> 
> The grib standard allows predefined bitmaps in order to save space.
> However, I am not aware of any grib file that uses predefined bitmaps,
> and I am not aware of any center that has made predefined bitmaps
> available.  I suspect that your grib file has problems.  Try running your
> file through wgrib2 to confirm that a predefined bitmap is being used.
> 
> Wesley
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://secure-web.cisco.com/1Dhc0jfM4VFkyyIYE5YiRqfLkbBZEkXWmch_xqPGkdTslxK1Vivx4oa1YoYscDkZkRHmwkjvcxrJSfWgZeXmzGTidalptNDut4nWHa_KsuJT961nW_SgGC6rp8Qvk5Ly-m3RzEFnnI-4qkewC2zBUGxLGo3qZNbXvvrZdZEThkFCSNil0HYsqqLk6ge4jKMh4U5yqmml3Npiompod42u7alkR9Pov9XEToFOtNcnQtW_EfUwh6dihU9hQfIEVED_MXY8-dxXArXbo3T7Jv-6I-YioPkNLDwgpIyVWXqsAFCFuUVUWOEcUagT3yogzHcwDrlWNJNuuHS_itzZWRG0G6tsgHTQEibuQFA0q9XYQ10qBi1E3HMHvtUIiuVrFnLOeHJlPuAKg8UtOygYSOVFgt-4poAM-VROLc-HG4bjUqjmhAtUaW8vHiTT7pcqm3ftZ/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr

--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University






More information about the gradsusr mailing list