[gradsusr] sdfopen and open
James E. Johnson
James.Johnson at nasa.gov
Tue Nov 27 18:30:28 EST 2012
On Tuesday, November 27, 2012 05:31:59 pm Jennifer Adams wrote:
> The syntax of your descriptor file TES_data.ctl is incorrect. Please read
> http://iges.org/grads/gadoc/SDFdescriptorfile.html carefully.
>
> dset ^TES-Aura_L2-CO-Nadir_2006-06_L2v005_Litev003.nc
> title TES
> undef -999.f
> dtype netcdf
> xdef 360
> ydef 180
> zdef 14
> TDEF 00:00Z01Jun2006
> VARS
>
> Also, I'm not sure whether Aura L2 data is gridded or swath data. If it is
> swath data, then GrADS is not the right tool. --Jennifer
Hi,
These TES data are Level-2 swath data. They represent all the TES orbit swaths
(typically 24-26 hours of data every other day) aggregated for an entire
month. The dimensions are not 360 x 180 x 14 (which implies gridded), rather
they are:
grid_pressure_fm = 67 ;
grid_targets = 27045 ;
grid_pressure = 14 ;
where the grid_targets dimension represents the nadir profiles/targets (this
number will vary from file to file), the other two dimensions are vertical
pressure level dimensions (the first is the original L2 pressure levels, and
the second grid_pressure are the reduced Lite pressure levels).
Since the data are Level-2, GrADS isn't really the best tool for examining
these data.
You might want to read the documentation about these "Lite" products, if you
already haven't, before using them
http://avdc.gsfc.nasa.gov/download_2.php?site=635564035&id=10&go=download&path=&file=TES_Lite_Products_Users_Guide-
Litev005.pdf. Also check out
http://tes.jpl.nasa.gov/uploadedfiles/LiteProductAdFinal.pdf
Gridded Level-3 products do exist at our sister organization at Langley ASDC,
and you could read these into GrADS. See their web page
http://eosweb.larc.nasa.gov/PRODOCS/tes/table_tes.html, and for the data via
anonymous FTP at ftp://l4ftl01.larc.nasa.gov/TES/
------------------------------------------------------------------------------
| James E. Johnson | address: |
| Wyle Information Systems, Inc. | NASA Goddard Space Flight Center |
| e-mail: james.johnson at nasa.gov | Distributed Active Archive Center |
| phone: 301-614-5121 | Code 610.2, Bldg 32, Room S130G |
| fax: 301-614-5268 | Greenbelt, MD 20771 |
------------------------------------------------------------------------------
>
> On Nov 27, 2012, at 4:03 PM, Jonathan Wynn Smith wrote:
>
> Hello
> I have attached the following GrADs scripts. I can not overlay ECMWF
> Reanalysis (open with sdfopen) data over TES Carbon monoxide. The ECMWF
> uses the "sdfopen" command and TES just uses "open." The seemingly simple
> fix placing the commands one right after the other:
>
> "sdfopen filename.nc"
> "open filename2.ctl"
>
> "d var"
>
> d var.2"
>
>
> does not work. I have attached my script and the control file for the TES
> data. I get the error message saying that data associated with the TES
> file (thata variable is co.2) cannot be open. See below:
>
> ga-> co_TES.gs
> No hardcopy metafile open
> All files closed; all defined objects released;
> All GrADS attributes have been reinitialized
> Error: nc_open failed to open file /Users/jonathanwsmith/TES_hdf.
> ctl
> NetCDF: Unknown file format
> gadsdf: Couldn't ingest SDF metadata.
> Data Request Error: File number out of range
> Variable = co.2
> Error ocurred at column 2
> DISPLAY error: Invalid expression
> Expression = (co.2)*1000000000
> Cannot plot color bar: No shading information
> Data Request Error: File number out of range
> Variable = co.2
> Error ocurred at column 2
> DISPLAY error: Invalid expression
> Expression = (co.2)*1000000000
> Hardcopy output file is closed
> ga->
>
> I know I have submitted this issue to grads before but am still
> struggling. Any guidance would be GREATLY appreciated. Thanks
> Jonathan
> <co_TES_test.gs><TES_data.ctl>_____________________________________________
> __ gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
> --
> Jennifer M. Adams
> IGES/COLA
> 4041 Powder Mill Road, Suite 302
> Calverton, MD 20705
> jma at cola.iges.org
More information about the gradsusr
mailing list