[ncl-talk] No coordinates to coordinate
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Sat Mar 13 08:46:11 MST 2021
Check your original source data file for an extra set of coordinates, lat
and lon, or similar names. x_t and y_t are not lat and lon, they are
projection coordinates, probably in meters. If lat and lon are not in the
original file, you might also be able to request them from the data source.
See recent thread about OSGB grid for method of using the supplemental
coordinates.
On Sat, Mar 13, 2021 at 1:38 AM Chathurika via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Hello,
>
>
> Thank you very much for reading my email.
>
>
> I have downscaling data in Atlantic and Arctic Oceans. But It has no
> attached coordinates. I want to plot these data on a polar map with
> coordinates.
>
>
> This is the variable summary;
>
>
> Copyright (C) 1995-2018 - All Rights Reserved
>
> University Corporation for Atmospheric Research
>
> NCAR Command Language Version 6.5.0
>
> The use of this software is governed by a License Agreement.
>
> See http://www.ncl.ucar.edu/ for more details.
>
> Variable: zos1
>
> Type: float
>
> Total Size: 2548039680 bytes
>
> 637009920 values
>
> Number of Dimensions: 3
>
> Dimensions and sizes: [Time | 240] x [y_t | 1728] x [x_t | 1536]
>
> Coordinates:
>
> Time: [7.260877e+09..7.8894e+09]
>
> y_t: [0.5..1727.5]
>
> x_t: [0.5..1535.5]
>
> Number Of Attributes: 5
>
> grid : TS
>
> missing_value : -1e+34
>
> units : m
>
> long_name : Sea Surface Height
>
> _FillValue : -1e+34
>
> Variable: xt
>
> Type: float
>
> Total Size: 6144 bytes
>
> 1536 values
>
> Number of Dimensions: 1
>
> Dimensions and sizes: [x_t | 1536]
>
> Coordinates:
>
> x_t: [0.5..1535.5]
>
> Number Of Attributes: 2
>
> long_name : X on T grid
>
> units :
>
>
> If I plot the data as a contour plot using "gsn_csm_contour" the figure
> looks like the attached png. Please help me to solve this.
>
>
> Thank you very much and best regards,
>
> Chathu
>
> [image]
>
>
> Wickramage Chathurika Hemamali
> Msc in Physical Oceanography
> State Key Laboratory of Tropical Oceanography
> South China Sea Institute of Oceanology
> University of Chinese Academy of Science
> China
>
> *Specialized in Oceanography and Marine Geology (Bachelor)*
> *University of Ruhuna*
> *Matara*
> *Sri Lanka*
>
> Email : wickramagechathurika at rocketmail.com
> chatu at scsio.ac.cn
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210313/00099efd/attachment.html>
More information about the ncl-talk
mailing list