[Thread Prev][Thread Next][Index]

Re: [ferret_users] How to convert fluxnet csv file format to netcdf?



Hi,

There's documentation on this under "ASCII data" in the Ferret documentation.  There is no one simple solution, because different csv files have the time and location data organized in different ways.  Here are a couple of FAQ's on related topics, which may be helpful:

Reading ASCII data representing gridded data

How can I create a time axis from variables containing year, month, day, etc?


On 11/14/2016 2:12 AM, Manche Shivashankar wrote:
Dear Kishore,

According to your grid values you have to define your axes and then define your grid.

while reading your file you have to assign your grid to that parameter(s) by giving a command like

yes? file/variable="var1,var2,var3"/g=defined_grid file_name.csv

now you save the parameter in NetCDF format by

yes? save/file=my_netcdf.nc heat_flux       ! suppose heat_flux is your variable.

Hope this will be helpful


Regards
Shiva Shankar Manche

On Mon, Nov 14, 2016 at 2:56 PM, Kishore Ragi <kishoreragi@xxxxxxxxx> wrote:
Dear ferret users,

I want to convert fluxnet data in csv format to netcdf. Could anybody please help me with code?

Thank you in advance.

Regards,
Kishore

PhD student in climate science,
National Institute of Technology, Rourkela,
India- 769008



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

Privacy Policy | Disclaimer | Accessibility Statement