Replies: 2 comments 10 replies
-
Hi @cbblanke Do you have "wgrib" in your $PATH? What happens when you run "which grads"? You have two options to add "wgrib" to your $PATH on Discover:
To generate a GrADS control file for GRIB-1 data: /home/dmocko/bin/grib2ctl.pl To generate a GrADS "*.xdf" file for netCDF data, I don't have a script. Instead, I just edit one myself by following this: Then I use "xdfopen [filename].xdf" to open in GrADS. For some sample files, look for the "*.xdf" files in this directory: The temperature "*.xdf" file is: DSET ^%y4/tas_3hourly_%y4-%y4.nc Note that not all aspects of a data descriptor file are needed. GrADS fills in the rest once you get the file open. If you have any specific datasets and are having issues, just let us know. |
Beta Was this translation helpful? Give feedback.
-
Hi @cbblanke: For the LIS-based netcdf files, you will also need to include the lat and lon information found in a typical "ncdump -h" and with one of the LIS netcdf files. You can find all the details on how to include those additional details you need, here: |
Beta Was this translation helpful? Give feedback.
-
Anybody have a script to make a GrADS control file for NetCDF or Grib output files on Discover? I used to be able to do this (for grib) but now I am getting an error "cannot run wgrib".
Beta Was this translation helpful? Give feedback.
All reactions