[Thread Prev][Thread Next][Index]

Re: [ferret_users] ascii to netcdf



Hi,
Paulo mentions reading ascii data where the location information describes a grid. There's an FAQ which discusses that:

   http://ferret.pmel.noaa.gov/Ferret/faq/reading-ascii-data-representing-a-grid

-Ansley

On 8/12/2014 11:04 AM, Paulo Santiago wrote:
Dear Nitin,

Yes, it's possible.


First, you read the ASCII file using the "file" command



You can optionally set variable attributes with "set variable"



Then you write to a netCDF file using the command "save"



If your ASCII data is actually a gridded variable you are allowed to specify that grid in the "read" command after you defined the grid with "define axis" and "define grid" commands.

Cheers,

Paulo Santiago


2014-08-12 5:34 GMT-03:00 Nitin Patil <nitinpatil85@xxxxxxxxx>:
Dear ferret users,

I have a 3 column format ascii file (attached) which includes lat, lon, data values. Is it possible to convert it to netcdf using ferret?

Any idea kindly let me know.

Thanks

--
Regards,
Nitin Patil



--
Paulo Santiago
Ph.D. Student in Meteorology
Brazilian National for Space Research
Phone +55 (12) 3186 8637


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

Privacy Policy | Disclaimer | Accessibility Statement