[gradsusr] gradsusr Digest, Vol 115, Issue 23

Subhajit Ghosh subhajitghosh08 at gmail.com
Mon Sep 30 06:50:20 EDT 2019


hi  Jennifer
can please explain a bit more. How I can rebuild grib2 library and linked
with a build of jasper. the process I followed is very simple and follows

tar -zxvf wgrib2.gz
sudo mv grib2 /usr/bin/
export CC=gcc
export FC=gfortran
 make
sudo ln -s /usr/bin/grib2/wgrib2/wgrib2  /usr/bin

what should I add more with it?
I can do all the other things except displaying in to map format.

Thanks & Regards
Subhajit

On Sat, Sep 28, 2019 at 9:32 PM <gradsusr-request at gradsusr.org> wrote:

> Send gradsusr mailing list submissions to
>         gradsusr at gradsusr.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://gradsusr.org/mailman/listinfo/gradsusr
> or, via email, send a message with subject or body 'help' to
>         gradsusr-request at gradsusr.org
>
> You can reach the person managing the list at
>         gradsusr-owner at gradsusr.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gradsusr digest..."
>
>
> Today's Topics:
>
>    1. Re: error reading GRIB2 file (Jennifer M Adams)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 28 Sep 2019 15:53:28 +0000
> From: Jennifer M Adams <jadams21 at gmu.edu>
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Subject: Re: [gradsusr] error reading GRIB2 file
> Message-ID: <4915F45D-464B-470E-90BE-651BE0C6F92C at gmu.edu>
> Content-Type: text/plain; charset="utf-8"
>
> Data Representation Template 5.40 is (Grid Point Data - JPEG2000
> Compression) (Lossless)
> My build of the grib2c library is linked with a build of jasper that
> supports jpeg2000, so it works for me (see attached). If rebuilding your
> grib2 library is not an option, I believe you can use wgrib2 to rewrite the
> grib2 records and change the DRT to a different compression setting.
> ?Jennifer
>
> [cid:A652AD6F-0B9F-43D4-BA51-8A96602E1E08]
>
>
> On Sep 27, 2019, at 10:01 AM, Subhajit Ghosh <subhajitghosh08 at gmail.com
> <mailto:subhajitghosh08 at gmail.com>> wrote:
>
> Hi everyone
> I am unable to read a GRIB2 file in GrADS and its showing following error
>
> Config: v2.2.0 little-endian readline grib2 netcdf hdf4-sds hdf5
> opendap-grids,stn geotiff shapefile
>
> ga-> open wvhgt2.ctl
>
> Scanning description file:  wvhgt2.ctl
> Data file wvhgt.grib2 is open as file 1
> LON set to 0 360
> LAT set to -90 90
> LEV set to 1 1
> Time values set: 2019:9:11:0 2019:9:11:0
> E set to 1 1
> ga-> q file
>
> File 1 : wvhgt.grib2
>   Descriptor: wvhgt2.ctl
>   Binary: wvhgt.grib2
>   Type = Gridded
>   Xsize = 1440  Ysize = 721  Zsize = 1  Tsize = 24  Esize = 1
>   Number of Variables = 1
>      wvhgtsfc  0  10,0,5  ** surface Significant Height of Wind Waves [m]
>
> ga-> d wvhgtsfc
>
> g2_unpack7: Data Representation Template 5.40 not yet implemented.
>
> g2_getfld: return from g2_unpack7 = 4
> GRIB2 I/O Error: g2_getfld failed, ierr=14
> Data Request Error:  Error for variable 'wvhgtsfc'
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = wvhgtsfc
>
> If anyone can suggest  what's the problem and possible solution
> using wgrib2 v0.2.0.8 2/2019
>
> files are attached herewith
> thanks & Regards
> Subhajit
> <grads
> error.txt><wvhgt.ctl><wvhgt.grib2>_______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
>
> http://secure-web.cisco.com/1Hw0_otC2UCde9rhYn4uDCDsR0_bofsTjcbxhWaDZKDZHo72UABYI92dEyrBJ1dqzvthrCPgC4DMBo29tM8pLkBQHgYoDL7d6itNI4-M0IgJ3IeKqtuDqDifQukU7gxi9s_xDhCCdv-tg3Hi5vP52hA2KC5ozHO1b8GqZ5j9BMAYBrEyCW5O7ncO-OftiOpqqmx8vNo0DKHglyZwjdkPuX-bXMoFrO9H8AeyOPZ_mPlxBCe9IBJX2IPSf18d6hEpIdTwFxfoNhwjBHv0o5H8g03jIlbR4BWbrZn7k-d6qXKC_wt5WR9-Q8xosNJCCmZ09YyGvui4_H0flPbMHgsTtAjaRVLw-cdOT8uBUvruAtiVM2QrunPNZzEVDLeF6UuRzBIFNBXPEzWJO6oYUXRsqwCEqdQYdizA01NJ4y2JbfIt8KVuEYAgmQ_-Ukq960MTE/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
>
> --
> Jennifer Miletta Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> George Mason University
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://gradsusr.org/pipermail/gradsusr/attachments/20190928/dd9ed700/attachment.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: wvhgt.png
> Type: image/png
> Size: 220064 bytes
> Desc: wvhgt.png
> URL: <
> http://gradsusr.org/pipermail/gradsusr/attachments/20190928/dd9ed700/attachment.png
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> ------------------------------
>
> End of gradsusr Digest, Vol 115, Issue 23
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190930/3b90bf2c/attachment-0001.html>


More information about the gradsusr mailing list