[gradsusr] [EXTERNAL] CTL file for TRMM 3A25
Adams, Jennifer M. (GSFC-610.2)[ADNET SYSTEMS INC]
jennifer.m.adams at nasa.gov
Thu Feb 6 09:33:20 EST 2020
Hi, Lyndz –
Your grid definition is incorrect, and your variable declaration has an extra dimension (t). Change the following entries in your descriptor:
xdef 72 linear -179.75 5
ydef 16 linear -39.75 5
zdef 6 linear 1 1
rainMean1=>rainmean1 6 z,x,y precipitation [mm/hr]
Note that I also changed the units for rainMean1 – the hdp utility (which is similar to ncdump for hdf4 files) showed this:
Variable Name = rainMean1
Index = 0
Type= 32-bit floating point
Ref. = 5
Compression method = DEFLATE
Deflate level = 5
Compression ratio (original:compressed) = 1.22:1
Rank = 3
Number of attributes = 1
Dim0: Name=nh1
Size = 6
Scale Type = number-type not set
Number of attributes = 0
Dim1: Name=nlon
Size = 72
Scale Type = number-type not set
Number of attributes = 0
Dim2: Name=nlat
Size = 16
Scale Type = number-type not set
Number of attributes = 0
Attr0: Name = units
Type = 8-bit signed char
Count= 5
Value = mm/hr
--Jennifer
--
Jennifer Miletta Adams
ADNET Systems, Inc.
NASA/GSFC, Code 610.2
Building 32, Room S159
(301) 614-6070
From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Lyndz <olagueralyndonmark429 at gmail.com>
Reply-To: GrADS Users Forum <gradsusr at gradsusr.org>
Date: Thursday, February 6, 2020 at 9:01 AM
To: GrADS Users Forum <gradsusr at gradsusr.org>, "Liu, Zhong (GSFC-610.2)[GEORGE MASON UNIVERSITY]" <zhong.liu-1 at nasa.gov>
Subject: [EXTERNAL] [gradsusr] CTL file for TRMM 3A25
Dear GrADS Experts,
CC. Dr. Zhong.
I created a ctl file for TRMM 3A25 that is in HDF format.
https://disc2.gesdisc.eosdis.nasa.gov/data/TRMM_L3/TRMM_3A25/
Below is the ctl file.
dset ^3A25.19981201.7.HDF
* TRMM algorithm version 7
options template
undef -9999.9
dtype hdfsds
xdef 720 linear -179.75 0.5
ydef 160 linear -39.75 0.5
zdef 1 linear 1 1
tdef 1 linear 00z01dec1998 1mo
vars 1
rainMean1=>rainmean1 1 t,z,x,y precipitation [mm/mo]
endvars
Unfortunately, this doesnt work.
I'll appreciate any suggestions on how I can do this in GrADS.
Sincerely,
Lyndz
+63 906 023 9926
Manila Observatory,
Ateneo de Manila University Campus
Loyola Heights, Quezon city
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20200206/eb01891d/attachment-0001.html>
More information about the gradsusr
mailing list