Re: error reading grib data

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Dec 03 2009 - 21:36:23 MST

%> ncl_filedump -v g4_lat_2,g4_lon_3 levelsECHAM64010_a10_100001.grb |

bad latitudes on file. This is not an NCL issue. Poorly formed
GDS [Grid Description Section].

     g4_lat_2:

  -2.000 -6.014 0.9361E-42 0.9809E-42 0.1191E-41 0.1296E-41
  0.1401E-41 0.1065E-37 0.4606E-39 -2.000 0.1401E-44 0.1724E-36
  0.2102E-43 0.3809E-36 0.000 0.3809E-36

     g4_lon_3:

   0.000 17.81 35.63 53.44 71.25 89.06
   106.9 124.7 142.5 160.3 178.1 195.9
   213.8 231.6 249.4 267.2 285.0 302.8
   320.6 338.4 356.3

蜜严 wrote:
> I'm using NCL version 5.1.1.
> My system is windows XP. I run NCL on SecureCRT, a Lunix system, from
bash.
> I'm sorry I can't upload the file via ftp now, so I put it in the
> attachment. Hope this works.
>
> 2009/12/4 Dennis Shea <shea@ucar.edu <mailto:shea@ucar.edu>>
>

Mary Haley wrote:
> Dear Yan Mi,
>
> In order to do the conversion properly, NCL needs to know what type of
> file you're converting. Even though you don't have a file extension
> in your file name, you can add one when you call ncl_convert2nc:
>
> ncl_convert2nc levelsECHAM64010_a10_1000001.grb
>
> What NCL will do is first look for a file called
> "levelsECHAM64010_a10_1000001.grb". If it doesn't see one, it then
> looks for a file called "levelsECHAM64010_a10_1000001" and tries to
> open it as a grib file.
>
> --Mary
>
>
> On Dec 3, 2009, at 6:46 PM, 蜜严 wrote:
>
>> dear sir,
>> I'm learning NCL now, and I run into problem when reading one data,
>> named 'levelsECHAM64010_a10_1000001', no suffix or extension. The
>> data provider said it's a grib data. But one error appeard when
>> using 'ncl_convert2nc', that is 'file 'levelsECHAM64010_a10_1000001'
>> not readable, does not contain recognized data, or doesn't exist,
>> skipping.'
>> Would you please tell me how I can convert this data to a netCDF
>> data? I can attach this file if necessary. Thank you!
>> With best regards!
>> YAN Mi
>> NIGLAS
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 3 21:37:15 2009

This archive was generated by hypermail 2.1.8 : Mon Dec 07 2009 - 16:12:30 MST