error in plotting LIS output #1303
Replies: 1 comment 1 reply
-
Please try your GrADS .xdf file without all of the lines from/to "VAR" and "ENDVARS" - including those two lines. In other words, just end your .xdf file with the TDEF line. GrADS will figure out the variables in your netCDF file. For more info on how to build a .xdf file, please see this GrADS documentation: http://cola.gmu.edu/grads/gadoc/SDFdescriptorfile.html After you successfully open your GrADS file this way, you can type Here is an example from one of my "2d gridspace" LIS_HIST netCDF files opened with GrADS:
You can then copy and paste the lines between/including "var" and "endvars" into your .xdf file, and try to xdfopen again. Snowcover_tavg=>snowcover 0 y,x snow cover This will allow you to Please let me know that this will work for you. |
Beta Was this translation helpful? Give feedback.
-
Hi
I am running a GDAS METforcing case with Noah.3.3 for 2 days. I have written output in "2d gridspace" netcdf format. I have got files like this:
I trying to plot these files by xdfopen.
DSET ^LIS_HIST_200210310000.d01.nc
DTYPE netcdf
UNDEF -9999.
TITLE lis
XDEF east_west 1440 LINEAR -179.875 0.25
YDEF north_south 600 LINEAR -59.875 0.25
ZDEF SoilMoist_profiles 4 levels 0.1 0.4 1.0 2.0
TDEF time 1 LINEAR 00Z31oct2002 1dy
VARS 11
SnowDepth 1 99 ** Snow depth [m]
SoilMoist1 1 99 ** Soil water content layer 1 [kg m-2]
SoilMoist2 1 99 ** Soil water content layer 2 [kg m-2]
SoilMoist3 1 99 ** Soil water content layer 3 [kg m-2]
SoilMoist4 1 99 ** Soil water content layer 4 [kg m-2]
SoilTemp1 1 99 ** Soil temperature layer 1 [K]
SoilTemp2 1 99 ** Soil temperature layer 2 [K]
SoilTemp3 1 99 ** Soil temperature layer 3 [K]
SoilTemp4 1 99 ** Soil temperature layer 4 [K]
CanopInt 1 99 ** Canopy interception [kg m-2]
Snowcover 1 99 ** Snow cover fraction [0-1]
ENDVARS
I am getting this error:
ga-> xdfopen output.xdf
Scanning Descriptor File: output.xdf
gadsdf: SDF file does not have any non-coordinate variables.
SDF Descriptor file output.xdf was not successfully opened & parsed.
~Hashmi
Beta Was this translation helpful? Give feedback.
All reactions