I looked at
http://www.cccma.bc.ec.gc.ca/data/grids/geom_llg_96x48.shtml
See
http://www.ncl.ucar.edu/Document/Functions/Contributed/latGau.shtml
http://www.ncl.ucar.edu/Document/Functions/Contributed/latGauWgt.shtml
http://www.ncl.ucar.edu/Document/Functions/Contributed/lonGlobeF.shtml
-----------------------------------------------------------------------------------
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
nlat = 48
mlon = 96
l at = latGau(nlat, "lat", "latitude", "degrees_north")
lon = lonGlobeF(mlon, "lon", "longitude", "degrees_east")
x = asciiread("...", (/nlat,mlon/), "float")
x!0 = "lat"
x!1 = "lon"
x&lat = lat
x&lon = lon
Not sure of the exact format ....
Maybe readAsciiTable may need to be used
http://www.ncl.ucar.edu/Document/Functions/Contributed/readAsciiTable.shtml
Good luck
D
> If this web page:
> http://www.cccma.ec.gc.ca/data/data_format.shtml
> describes the format of the data you want to convert, then yes it is
> possible.
> -dave
>
>
> On May 22, 2009, at 12:26 PM, debasish_at_gi.alaska.edu wrote:
>
>
>> Hello,
>>
>> Is there anyway to read CCCma file in NCL and convert it in NETCDF
>> file?
>>
>> Thanks
>>
>> Debasish
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>> _______________________________________________
>> 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
>
-- ====================================================== Dennis J. Shea tel: 303-497-1361 | P.O. Box 3000 fax: 303-497-1333 | Climate Analysis Section | Climate & Global Dynamics Div. | National Center for Atmospheric Research | Boulder, CO 80307 | USA email: shea 'at' ucar.edu | ====================================================== _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue May 26 2009 - 08:19:15 MDT
This archive was generated by hypermail 2.2.0 : Tue May 26 2009 - 10:17:16 MDT