[Thread Prev][Thread Next][Index]

Re: [ferret_users] data from netcdf file automatically reversed



Hi Chao,
In your netCDF file, are the time coordinate values decreasing?  If Ferret encounters a file where the coordinates are decreasing instead of increasing, it will reorder the coordinates and the data. 

Look at the result of ncdump -c.  Do the coordinate values in the axis variable time_counter have increasing or decreasing values?

Ansley

On 5/2/2011 8:40 AM, Yue Chao wrote:
Dear all ferret_users,

I am new beginner in ferret and forgive me it's stupid question.
I try to read a variable from a netCDF file and make line plot. when I use ncdump to check the data, it's the right sequence.
from the begining of time, the value of variable increases. but when the data is listed in ferret, the sequence has been automatically
reversed. I guess I have the wrong time axis?  But before this, when I try to do exactly the same thing using the data produced by a
very much similar way, nothing strange happened.

actually the time axis is plainly sequential numbers...
yes? show axis time_counter
 name       axis              # pts   start                end
 TIME_COUNTER                 389 r   1                    389

Thank you if you have any idea, I just want to understand what's going on.

best,

Chao
--
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 77 30
Portable Phone (Mobil phone) : (33) 07 60 54  23 71
************************************************************************************


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement