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
Received on Thu Dec  3 21:19:28 2009
This archive was generated by hypermail 2.1.8 : Mon Dec 07 2009 - 16:12:30 MST