Re: the problem about the time coordinate variable

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Tue, 21 Mar 2006 09:44:40 -0700

Hi Alice,

Please send us the netCDF headers of your two files (ncdump -h,
that should help us to diagnose the problem..

Also, something else that I noticed, you are using regular subscripting
at the top of the program when you read in uwnd:


Then farther down in the program you say:
fileAtt_at_title="the abnormal u wind at 850hpa over 120 degree East"

This would be correct if the uwnd longitudes are spaced every 1 degrees
starting at 0E... To make sure you are grabbing the data points at 120E
(and at 850hPa) you might want to try using coordinate subscripting:


I would try both methods and do a printVarSummary(uwnd1) and see what
the differences are.

符娇兰 wrote:
> Hello:
> There is some trouble when I get the "time" coordinate variable of
> the two output nc data which is writtend by the attached script. When I
> use the NCL to print the variable "time",the print results are same. But
> when I run Grads to plot figures using the two output data, the time of
> "" can be correctly displayed on the plot coordinate,namely,May1
> 1991,..., that of the "" displayed differently,such as
> 4776,..... I have checked the scripts for several times and still didn't
> find what is the problem.
> Thanks for any help or suggestion!
> Yours,
> Alice
> 2006-03-21
> ------------------------------------------------------------------------
> _______________________________________________
> ncl-talk mailing list

Adam Phillips			   
National Center for Atmospheric Research   tel: (303) 497-1726
ESSL/CGD/CAS                               fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000
ncl-talk mailing list
Received on Tue Mar 21 2006 - 09:44:40 MST

This archive was generated by hypermail 2.2.0 : Wed Mar 29 2006 - 11:52:49 MST