[Thread Prev][Thread Next][Index]

Re: [ferret_users] Re: How to open netcdf file



>yes? shade/L=1 temp
>**ERROR: dimensions improperly specified: must be a 2D region

Contour (fill or shade) is possible only in 2D region.

Since "temp" is 4 dimensional, you need to fix two dimensions to shade or fill the variable.

Do the following;

shade/l=1/k=1 temp or fill/k=1/l=1 temp

in above cases, temperature values will be contoured for 15-jan-0000 at 1st depth level.

Hope this will help you.

Abhisek Chatterjee
POD, NIO
Dona Paula
Goa-403004

Ph.N- +91-8390609126


From: Sudev Das M P <devdas.pnr@xxxxxxxxx>
To: ferret_users@xxxxxxxx
Sent: Friday, 11 May 2012 12:16 AM
Subject: [ferret_users] Re: How to open netcdf file

Hai,

Thanks. Now I am going through Ferret tutorial. In that I have seen plotting "coads_climatology"
netcdf dataset. The same way I tried my netcdf data. But I got some error. If possible please give
me your suggestion regarding this. The details I am giving below.

regards,
Sudev

===================================================
yes? set data nioa_climatology_monthly_temp_salt_nio.nc
yes? show data
currently SET data sets:
1> ./nioa_climatology_monthly_temp_salt_nio.nc (default)
name title I J K L
TEMP Temperature 1:90 1:70 1:24 1:12
SALT Salinity 1:90 1:70 1:24 1:12

yes? show data
currently SET data sets:
1> ./nioa_climatology_monthly_temp_salt_nio.nc (default)
name title I J K L
TEMP Temperature 1:90 1:70 1:24 1:12
SALT Salinity 1:90 1:70 1:24 1:12

yes? show grid temp
GRID GBK1
name axis # pts start end
LONGITUDE LONGITUDE 90mr 30.5E 119.5E
LATITUDE LATITUDE 70 r 29.5S 39.5N
DEPTH Z 24 i- 0 1500
TIME TIME 12mi 15-JAN 00:00 15-DEC 00:00
yes? show grid/L=1:4 temp
GRID GBK1
name axis # pts start end
LONGITUDE LONGITUDE 90mr 30.5E 119.5E
LATITUDE LATITUDE 70 r 29.5S 39.5N
DEPTH Z 24 i- 0 1500
TIME TIME 12mi 15-JAN 00:00 15-DEC 00:00

L T TBOX TBOXLO TSTEP (MONTHS(NOLEAP))
1> 15-JAN 00:00:00 1.019178 01-JAN 00:00:00 0.460274
2> 15-FEB 00:00:00 0.969863 30-JAN 12:00:00 1.479452
3> 15-MAR 00:00:00 0.969863 01-MAR 00:00:00 2.4
4> 15-APR 00:00:00 1.00274 30-MAR 12:00:00 3.419178
yes? shade/L=1 temp
**ERROR: dimensions improperly specified: must be a 2D region
shade/L=1 temp
====================================================

On Thu, May 10, 2012 at 10:40 PM, Sudev Das M P <devdas.pnr@xxxxxxxxx> wrote:
Hai,

I am new to Ferret.  I have a netcdf data file. I like to know how can I open and display the variables in this 
file in Ferret. Hope to get your valuable suggestion.

Thanks,
Sudev





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

Privacy Policy | Disclaimer | Accessibility Statement