[gradsusr] About drawing of NetCDF
Don Hooper
don.k.hooper at noaa.gov
Sat Jun 8 13:09:14 EDT 2024
GrADS requires that, in a self-describing NetCDF file,
the values of coordinates be "positive increasing". This
generally requires longitudes to all be East Longitudes,
0-360. This uses east-west longitudes. The real answer
is to modify the file by adding 360 to the negative
longitude values. Failing that, we can use the XDFOPEN
command on this two line ASCII file:
DSET
https://www.dropbox.com/scl/fi/b1tc6xxri75t91flggwxi/20240430000000-JAXA-L2P_GHRSST-SSTskin-H09_AHI_NRT-v2.1-v02.0-fv01.0.nc?rlkey
=wpbc02nru1mu6s6blnraoxp2w&st=ex0l0m21&dl=0
YDEF name-of-longitude-variable Number-of-longitudes 80.0 spacing-of-longitudes
I would have filled in the YDEF line better, but ncdump failed
on the above URL.
-Hoop
On 6/8/24 00:24, KMKW NORIO wrote:
>
> Dear Person in Charge
>
> I am writing to post a message to the members of
>
> My question is as follows.
> I have opened the NetCDF file and tried to draw it, but I get the error
> below and cannot draw it.
>
> File:
>
> https://www.dropbox.com/scl/fi/b1tc6xxri75t91flggwxi/20240430000000-JAXA-L2P_GHRSST-SSTskin-H09_AHI_NRT-v2.1-v02.0-fv01.0.nc?rlkey
> =wpbc02nru1mu6s6blnraoxp2w&st=ex0l0m21&dl=0
>
>
> ga-> sdfopen
> 20240430000000-JAXA-L2P_GHRSST-SSTskin-H09_AHI_NRT-v2.1-v02.0-fv01.0.nc
> Scanning self-describing file:
> 20240430000000-JAXA-L2P_GHRSST-SSTskin-H09_AHI_NRT-v2.1-v02.0-fv01.0.nc
> SDF file
> 20240430000000-JAXA-L2P_GHRSST-SSTskin-H09_AHI_NRT-v2.1-v02.0-fv01.0.nc is
> open as file 1
> LON set to 80 -160
> LAT set to -60 60
> LEV set to 0 0
> Time values set: 2024:4:30:0 2024:4:30:0
> E set to 1 1
> ga-> d sea_surface_temperature
> Operation error: Invalid dimension environment
> Min longitude > max longitude: 80 -160
>
> LON is not “set to 80 200” but “set to 80 -160” and cannot be drawn because
> it is set.
> How should I describe it in order to draw it?
> Is it possible to solve this problem by adding some options?
>
> Best Regards,
> Nori
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
More information about the gradsusr
mailing list