[Thread Prev][Thread Next][Index]

Re: [ferret_users] medatlas fig....



Hi Mahesh,

I believe the not-a-numbers (nan) cause the problem. Replacing them by -1.E+34 (typical 'missing value' for ferret) seems to yield reasonable results.

I did the following

1) make it human-readable
ncdump -bc <your file> > <your file>.cdl

2) replace nan by the 'missing value' (assuming there are are no important 'nan'-containing strings in the header since they would be replaced as well)
sed 's|nan|-1.E+34|g' <your file>.cdl > <your file>_mod.cdl

3) create new netCDF file
ncgen -o <your file>_mod.nc <your file>_mod.cdl


Cheers,
Hella



Mahesh Shinde wrote:
Dear Ferret users,

I am new to ferret. I want to plot clim of metatlas. But it does not plot properly.
here i am sending a clim_temp_medi.nc<http://clim_temp_medi.nc>

please help.

Thanks

Mahesh

--
---------------------------------------------------------------------------------------------------------------------
(Current Affiliation)
Mahesh Shinde
Climate Research Lab(IC3),
Barcelona Science Park,
University of Barcelona,
Barcelona-08028,Spain
email: mshinde@xxxxxxx<mailto:mshinde@xxxxxxx>
----------------------------------------------------------------------------------------------------------------------
(Permanent Affiliation)
Mahesh Shinde
Climate and Global Modeling Division,
Indian Institute of Tropical Meteorology,
(Under the Ministry of Earth Sciences, Govt. Of India)
NCL POST, Dr. Homi Bhabha Road,
Pashan,Pune-411008, INDIA
email: samurai@xxxxxxxxxxxxxx<mailto:samurai@xxxxxxxxxxxxxx>
cell: +91-9822050959
----------------------------------------------------------------------------------------------------------------------



--

---------------------------------------------------------------
 Hella Riede  (Dipl.Chem.)
 Max Planck Institute for Chemistry
 Dept. of Atmospheric Chemistry
 Becherweg 27                   email: hella.riede@xxxxxxx
 55128 Mainz                    phone: +49-6131-305437
 Germany                        fax:   +49-6131-305436

 homepage: www.mpch-mainz.mpg.de/~riede
---------------------------------------------------------------

Attachment: clim.med.temp_mod.nc
Description: Cdf file


[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement