[gradsusr] About drawing of NetCDF

KMKW NORIO palpienorio at hotmail.com
Sun Jun 16 21:09:40 EDT 2024


Dear Don,

Thank you for letting me know so quickly.
Your advice helped me draw correctly!  This will enable me to analyze long-term data, which is very helpful.

Best Regards,
Norio
------
Add to the Data Descriptor File (DDF) these 3 lines:

VARS 1
sea_surface_temperature=>sst 1 99 SST
ENDVARS

Thereafter, refer to the variable by the name sst.
I think the other name is too long for GRADS.

-Hoop

On 6/16/24 18:05, KMKW NORIO wrote:
>
> Dear Don,
>
> Thank you for your reply and advice.
>
> I couldn't find the reply from the archive.
>
> https://jpn01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgradsusr.org%2Fpipermail%2Fgradsusr%2F2024-June%2F043501.html&data=05%7C02%7C%7C3ba66e0fb458484c8ac208dc8e65c72c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638541815000203717%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=yvjn3JGYE8LQ1xyKQtp2IB5A6KL5O4uLUqCtuI7ZnXI%3D&reserved=0<http://gradsusr.org/pipermail/gradsusr/2024-June/043501.html>
>
> I'm sorry for replying to your direct email.
>
> To use xdfopen, I created the xclt file below.
>
> $ cat jx_sst.xctl
>
> dset 20240430000000-JAXA-L2P_GHRSST-SSTskin-H09_AHI_NRT-v2.1-v02.0-fv01.0.nc
>
> options yrev
>
> title SST
>
> dtype netcdf
>
> xdef lon 6000 linear 80.0 0.02
>
> ydef lat 6000 linear -59.99 0.02
>
> ga-> set display color white
>
> ga-> set grads off
>
> ga-> set gxout grfill
>
> ga-> xdfopen jx_sst.xctl
>
> Scanning Descriptor File:  jx_sst.xctl
>
> 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 199.98
>
> 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
>
> Syntax Error:  Invalid Operand
>
>   'sea_surface_tempe' not a variable or function name
>
>   Error ocurred at column 1
>
> DISPLAY error:  Invalid expression
>
>   Expression = sea_surface_temperature
>
> How can I set the variables to resolve this error?
>
> The results of ncdump are as follows:
>
> ncdump -h
> 20240430000000-JAXA-L2P_GHRSST-SSTskin-H09_AHI_NRT-v2.1-v02.0-fv01.0.nc
>
> short sea_surface_temperature(time, lat, lon) ;
>
> When I tried plotting other variables such lat , they plotted fine (lon 80-200).
>
> The file upload may not have been successful.
>
> I uploaded to the following folder again and added two more files.
>
> https://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fscl%2Ffo%2Fx736912hd51ugrjmsiykm%2FANfrJTcgOFsL6Mh_lLnn630%3Frlkey%3Dxp8xttdysvhihc1iy4prv1nn0%26st%3Dcnteg9yp%26dl%3D0&data=05%7C02%7C%7C3ba66e0fb458484c8ac208dc8e65c72c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638541815000215733%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=dM5Op508YOAle0SKnVAXGdIABBq2jMFkY4alyQ3jjl8%3D&reserved=0<https://www.dropbox.com/scl/fo/x736912hd51ugrjmsiykm/ANfrJTcgOFsL6Mh_lLnn630?rlkey=xp8xttdysvhihc1iy4prv1nn0&st=cnteg9yp&dl=0>
>
> Best Regards,
>
> Norio
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20240617/86d8edfd/attachment.html>


More information about the gradsusr mailing list