Go to Page Main Content

bluebar
bluebar
NASAlogo
NASA Goddard Space Flight Center
GLOBAL MODELING AND ASSIMILATION OFFICE
Go
bluebar
bluebar
whitebar
GMAO Mainpage GMAO Research Areas GMAO Systems GMAO Products GMAO Projects GMAO Seminars GMAO Publications
bluebar
whitebar
hurricane Katrina TRMM satellite atmosphere


ABOUT GMAO



GMAO LINKS



NASA LINKS




LATS4D DISTRIBUTION VERSION 1.7

Begin Main Content

What is it?

LATS4D (LATS for Dummies) is a minimum fuss gs script for writing NetCDF, HDF-SDS or GRIB files from GrADS using the PCMDI LATS interface. This script can serve as a general purpose file conversion and subsetting utility. Any GrADS readable file (GrADS IEEE, GSFC Phoenix, GRIB, NetCDF or HDF-SDS) can be subset and converted to GRIB, NetCDF, HDF-SDS or binary using a single command line. By installing Mike Fiorino's user defined function regrid2() the output file can also be converted to a different horizontal grid resolution. For additional details see the manual page. GMAO users may check this for GMAO specific hints.

When invoked without arguments this script will create a COARDS compliant NetCDF or HDF-SDS file named "grads.lats.nc", with all the contents of the default file (all variables, levels, times). The file name and several other attributes can be customized at the command line, see the OPTIONS section in the manual page.

NetCDF files are obtained by running this script under the executable "gradsnc". HDF-SDS files can be produced with the "gradshdf" executable. Notice that the classic version of grads, "gradsc", does not include support for LATS and therefore cannot be used with lats4d. This script requires GrADS Version 1.7.beta.9 or later.

Downloading

Download the ASCII file lats4d.gs which contains the self-contained script LATS4D. For documentation check the manual page. The file lats4d contains a simple sh(1) script for starting GrADS and LATS4d from the command line.

Sample data files

The following files are needed for running the examples described in the manual page:

 

Page author: Arlindo da Silva
Email: asilva@gmao.gsfc.nasa.gov

Content last updated: 7 July 2006

 


GMAO Website Curator: James Gass
Responsible NASA Official: Dr. Michele Rienecker
Last Modified: 2007-05-22