[Thread Prev][Thread Next][Index]

Re: [ferret_users] Variable name T in WRF NetCDF output



Hi Renate,
Put the T in single quotes:
yes? plot 'T'
The reference to this in the Ferret documentation can be found in the Users Guide. The link in the index is "naming, variables in netCDF files" or "variable, names in NetCDF files".   http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/index-1/index/

For convenience, you can also do a temporary renaming of any variable from a netCDF variable, just within your script.  That goes something like this:
yes? use my_data.nc
yes? set var/name=tvar 'T'

yes? show data
     currently SET data sets:
    1> ./my_data.cdf  (default)
 name     title       I       J         K         L
 TVAR     Time        1:1     1:1      ...       1:398
Then you can refer to TVAR rather than having to put in the single quotes everywhere.

-Ansley

Renate Forkel wrote:
Hi everybody,

when displaying NetCDF output of the WRF model everything works fine unless
I want to plot the 3-d output field named T (deviation of potential temperature).
As T is reserved for time, it is not possible to display the variable
T straight forward ore do any computations using the 3-d array T.

Is there a way to access a variable named T within Ferret (except renaming
the variable in the NetCDF file)?

Thanks and best regards
Renate

  

[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement