[gradsusr] error in the format conversion from grib2 to ctl

Jennifer M Adams jadams21 at gmu.edu
Thu Dec 14 10:28:06 EST 2017


Your build is very old. Check the output from ‘q config’ — I suspect your build is not linked with the grib2 library. 
—Jennifer


> On Dec 13, 2017, at 10:26 AM, Andrea Tateo <andrea.tateo at ba.infn.it> wrote:
> 
> Dear all,
> 
> I work using grads version 2.0.1 on the Linux platform.
> 
> I would like to convert the GEFS member (for example 
> "2017_12_11_p01_f009.grib2") from "wgrib2" to "ctl" format.
> 
> To do this I followed the procedure:
> 
> ./g2ctl.pl 2017_12_11_p01_f009.grib2 > 2017_12_11_p01_f009.grib2.ctl
> gribmap -i 2017_12_11_p01_f009.grib2.ctl
> 
> (by generating the "2017_12_11_p01_f009.grib2.idx" file )
> 
> When I open this file with grads I have the error:
> 
> 
> Scanning description file:  2017_12_11_p01_f009.grib2.ctl
> Open Error:  Data file type invalid
>   --> The invalid description file record is:
>   --> dtype grib2
>   The data file was not opened.
> 
> The wgrib2 version is: v0.2.0.6c 2/2017
> The g2ctl.pl version is:v0.1.2
> 
> 
> I hope anyone could help me.
> 
> Thank you very much
> 
> Andrea
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://secure-web.cisco.com/11YfRK8ueMgwHeprohtGOnYsm62lovgr8oEBMuK3fwgo-tUqRPCWcWCYlv2esgm3sYqOEXt3eBqR3kSrgmjjyXsqlLHj2tA5oH_rB9ny5YbMwIS7txegOhyx2QVWz8_BWzetrMNyiL463EVwKNU0YP6bknNtRrXOgekKnPxwa9mtOnaxbhUSIvSk_s72xZItTZDV7oZlPJALS2EHaVpBhRUNq8qIy1DUzmVvjlrzy1ECsAz218-3pGnpH9x1zQ4yckoJnn5FjPndQZfROxF2gwj9LHQM7P-_p8d_sIhRgN0hjWvYk68rYtJ6BVno-rdyOrr5pNUWug8Ns1sc5pJY430_kZ3_uOkk3IMxY7wtahjZDJHbGvxuznDkC06WHHtaQUiz9esx4cUgFeJ-FLekgn0u9HVsmXQwZXzLUhUfWjiBXYxiv267-51wQRxcVzaL8/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