[Thread Prev][Thread Next][Index]

Re: [ferret_users] reading HDF file on OPENDAP



Hi Jean,
There are a couple of different things you can do.

1) A variable with an odd name can always be put into single quotes:
yes? shade 'EOSGRID.Data Fields.Var_PBLH'
2) Or, you can rename the variables, and then refer to the new names:
yes? set var/name=EOSGRID_Data_Fields_Var_PBLH 'EOSGRID.Data Fields.Var_PBLH'
yes? plot EOSGRID_Data_Fields_Var_PBLH[x=@ave]


(Look up "variables, invalid names"  or "naming, variables, renaming" in the Users Guide Index, http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/index-1/index)


jean li wrote:
Hi ALL:

I am able to load a HDF file on OPENDAS using Ferret, e.g.

"use "http://goldsmr1.sci.gsfc.nasa.gov/opendap/MERRA_MONTHLY/MATMFXCHM.5.2.0/1998/MERRA300.prod.assim.tavgM_2d_chm_Fx.199812.hdf"

show data"

I have data listed here as:


EOSGRID.Data Fields.Var_PBLH
                                           1:288     1:181     ...       1:1
 EOSGRID.Data Fields.XDim
                                           1:288     ...       ...       ...
 EOSGRID.Data Fields.YDim
                                           ...       1:181     ...       ...
 EOSGRID.Data Fields.Time
                                           ...       ...       ...       1:1

My problem is: how to refer these data since Ferret doesn't take these structure type name?

Thanks for your help!

Zhen





[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement