Identify grid in Netcdf file

Any other graphics packages not listed above.

Identify grid in Netcdf file

Postby LucyWatt » Tue Jul 31, 2012 3:00 am

Hi everybody,

I want to do spatial averaging ( 25km x 25km to 100km x 100km for example) of grid from WRF output which is Netcdf format.

How to identify a grid in Netcdf file?

Thank you
LucyWatt
 
Posts: 5
Joined: Tue Jul 31, 2012 2:49 am

Re: Identify grid in Netcdf file

Postby AchternDiek » Tue Jul 31, 2012 8:26 am

Hi Lucy,

Are you familiar with NCL (NCAR Command Language)?
It has some neat functions to handle netCDF data, and WRF output in particular.

MatLab would be a good choice for this task, too.

Or did your question aim for the names of specific variable fields?
There is a list of all variable fields from WRF output in the WRF User's Guide, for example.

Hope this helps,
AchternDiek
AchternDiek
 
Posts: 147
Joined: Wed Jun 06, 2012 6:10 am
Location: Norway

Re: Identify grid in Netcdf file

Postby LucyWatt » Wed Aug 01, 2012 2:21 am

Hi AchternDiek,

Thank for your response.

Actually I use NCL to extract DOWNWARD SHORT WAVE FLUX AT GROUND SURFACE at a specify latitude and longitude point.

However what I want to do now is a spatial averaging on gridded data. For example if I have an area measuring 1000 km and composed of grids, each grid measuring 25 km x 25 km. I want to function in order to obtain the same area with grids measuring 100 km x 100 km.

I am looking for a function (or indications) that can do it on Netcdf file.

How to know the number of grids in a Netcdf file?

Thank you
LucyWatt
 
Posts: 5
Joined: Tue Jul 31, 2012 2:49 am

Re: Identify grid in Netcdf file

Postby LucyWatt » Mon Aug 06, 2012 2:06 am

Please help me to find a solution
LucyWatt
 
Posts: 5
Joined: Tue Jul 31, 2012 2:49 am

Re: Identify grid in Netcdf file

Postby AchternDiek » Tue Oct 23, 2012 8:36 am

You should take a look at the cdo's (climate data operators) documentation and also the nco package (netCDF operators). Both tools provide you with info on netCDF files (also grid information!), and at least cdo includes several interpolation routines (nco might as well).

--AchternDiek
AchternDiek
 
Posts: 147
Joined: Wed Jun 06, 2012 6:10 am
Location: Norway


Return to Others

Who is online

Users browsing this forum: No registered users and 1 guest

cron