LATS/HDF output not enabled in gradshdf

Arlindo da Silva arlindo.dasilva at GMAIL.COM
Thu Mar 22 16:47:57 EDT 2007


On 3/22/07, Zhong Liu <zliu at pop600.gsfc.nasa.gov> wrote:
>
> Dear Arlindo da Silva,
>
> I downloaded lats4d from your site. When I test ran your sample
> files, I got the following errors. Any ideas? Thanks.


Yes, there is a bug in this version of gradshdf which was built without
enabling HDF output. I am not sure whether Jennifer has posted a new build
with this bug fix.  If you do not need to read HDF files, you can use
gradsnc to create NetCDF files with lats4d (on the command line, "lats4d -nc
-i ...")

Jennifer: To refresh your mind, gradshdf needs to be linked with
latsnc-hdf.o, just like gradsnc links with latsnc-nc.o.

         Arlindo


Regards,
>
> -Zhong
>
> ---------------------------------------------------------
>
> $ lats4d_u -q -i model -o ex1
> gradshdf -blc 'run lats4d.gs -q -q -i model -o ex1 '
>
> Grid Analysis and Display System (GrADS) Version 1.9b3
> Copyright (c) 1988-2003 by Brian Doty
> Center for Ocean-Land-Atmosphere Studies
> Institute for Global Environment and Society
> All Rights Reserved
>
> Config: v1.9b3 32-bit little-endian readline sdf/xdf hdf-sds netcdf lats
> printim
>
> Issue 'q config' command for more information.
>
> GX Package Initialization: Size = 11 8.5
> Running in Batch mode
> No hardcopy metafile open
> All files closed; all defined objects released
> All GrADS attributes have been reinitialized
> LATS error (lats_create): netCDF (latsnc.c) --> netCDF output not
> supported by this version of LATS
> lats4d: error creating coards file ex1.nc
> lats4d: exiting from GrADS...
> No hardcopy metafile open
> GX package terminated
>
> --
> ********************************************************************
> * Zhong Liu, Ph.D.                     |  zliu at pop600.gsfc.nasa.gov*
> * George Mason University and          |                           *
> * NASA Goddard Earth Sciences          |  (301) 614-5764 (voice)   *
> * Data and Information Services Center |  (301) 614-5268 (fax)     *
> * NASA/GSFC, Code 610.2                |                           *
> * Greenbelt. MD. 20771  U.S.A.         |                           *
> ********************************************************************
> * For more information about the Goddard DISC and its services:    *
> * http://disc.gsfc.nasa.gov/                                       *
> ********************************************************************
>
>
> --
> This message has been scanned for viruses and dangerous
> content by GMAO's MailScanner, and is believed to be clean.
>



--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20070322/6b81e438/attachment.html 


More information about the gradsusr mailing list