[gradsusr] two-dimensional (R-Z) data files
James Potemra
jimp at hawaii.edu
Fri Oct 28 17:12:19 EDT 2022
Hi Sim,
In the data descriptor file you don't list any variables as having a
depth component. For example,
azimtemp 0 11,100,0 ** (profile) Temp. [K]
That first "0" means there are only surface values for this variable. I
think you want that to be "24"
Jim
On 10/28/22 10:52 AM, Sim Aberson wrote:
> I have code that creates an azimuthal average around the center of a TC
> and writes the values out into a file with a control file for GrADS. I
> have attached them both. The grid is 350 points in the radial direction
> at 0.5-km intervals, with 24 pressure levels.
>
> XDEF 350 LINEAR 0 0.5
> YDEF 1 LINEAR 0 0.5
> ZDEF 24 levels
> 1000 975 950 925 900 875 850 825 800 775 750 700 650 600 550 500 450
> 400 350 300 250 200 150 100
>
> I've checked the values in the data file and they look good.
>
> When I run GrADS and try to plot any variable, I get:
>
> ga-> open azim.ctl
> Scanning description file: azim.ctl
> Data file azim.dat is open as file 1
> LON set to 0 174.5
> LAT set to 0 0
> LEV set to 1000 100
> Time values set: 2011:10:27:13 2011:10:27:13
> E set to 1 1
> ga-> d azimhgt
> Data Request Warning: Varying Z dimension environment...
> but the requested variable has no Z dimension
> Entire grid contents are set to missing data
> Warning issued for variable = azimhgt
> Cannot contour grid - all undefined values
>
> I get the same result if I set z 1 24 before trying to display. It
> seems like this should be extremely easy, but I'm stumped.
>
> Thanks,
> Sim
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
More information about the gradsusr
mailing list