[ncl-talk] set_dimension [SEC=UNCLASSIFIED]

Griffith Young griffith.young at bom.gov.au
Mon Mar 20 23:07:03 MDT 2017


Try a print(a) statement and see if the variables you are looking for exist.

You may have the wrong name for the variable...

Regards,
                Griff.


Griffith Young | SITOC
[cid:409470105 at 28052013-3564]
Research and Development Branch
Bureau of Meteorology
GPO Box 1289 Melbourne VIC 3001
Level 9, 700 Collins Street, Docklands VIC 3008
Tel: +61 3 9616 8381 | G.Young at bom.gov.au<mailto:G.Young at bom.gov.au>
www.bom.gov.au<http://www.bom.gov.au/> - cawcr.gov.au - poama.bom.gov.au



From: ncl-talk-bounces at ucar.edu [mailto:ncl-talk-bounces at ucar.edu] On Behalf Of Kunal Bali
Sent: Tuesday, 21 March 2017 3:39 PM
To: ncl-talk at ucar.edu
Subject: [ncl-talk] set_dimension

Dear NCL users,
I have data with dimension and size as

Dimensions and sizes:    [LatRows | 360] x [LonCols | 720]
for  that, I am trying to read  my dimensions as

      lat =  a->LatRows
      lon =  a->LonCols

so resources are using as
  res at sfXArray        = lon
  res at sfYArray        = lat

BUT it is still showing an error
variable (LatRows) is not in file (a)
So please let me know how to read the dimensions my the attached file.
Thank You

Regards
Kunal Bali






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170321/7656040e/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2620 bytes
Desc: image001.gif
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170321/7656040e/attachment.gif 


More information about the ncl-talk mailing list