[ncl-talk] no coordinate variable exist for dimension nlat in variable

Dennis Shea shea at ucar.edu
Mon Mar 22 09:49:13 MDT 2021


The coordinates are not one-dimensional.

The attribute 'coordinates'
      *coordinates : TLONG TLAT z_t time*
tells you that the variables named: *TLONG* and *TLAT*

contain the spatial coordinates for the (384,320) grid

======
*http://www.ncl.ucar.edu/Applications/iso.shtml
<http://www.ncl.ucar.edu/Applications/iso.shtml>*

See:* iso_1.ncl *and
* iso_4.ncl*

  isot at lat2d = b->TLAT         ; used in graphics
  isot at lon2d = b->TLONG

=========

*http://www.ncl.ucar.edu/Applications/pop.shtml*
<http://www.ncl.ucar.edu/Applications/pop.shtml>

See:
Basin/Mask:
* popmask_1.ncl, popmask_2.ncl, popmask_3.ncl *

Slices:
* popslice_1.ncl, popslice_2,ncl     *

Scalars:* popscal_1.ncl, popscal_2.ncl, popscal_3.ncl, popscal_4.ncl*

Likely other examples





On Mon, Mar 22, 2021 at 1:19 AM Ashi Alam via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> dear NCL user,
>
> i am trying to run CESM pop file but it gives the error that no variable
> exist for nlat, i tried to name the dimension as well but it didn't work
>  below are the summary and error
>
> thank you
>
>
>
> Variable: sst1
> Type: float
> Total Size: 10616832000 bytes
>             2654208000 values
> Number of Dimensions: 3
> Dimensions and sizes:   [time | 21600] x [nlat | 384] x [nlon | 320]
> Coordinates:
>             time: [146365..803334]
> Number Of Attributes: 8
>   _FillValue :  9.96921e+36
>   long_name :   Potential Temperature
>   units :       degC
>   coordinates : TLONG TLAT z_t time
>   grid_loc :    3111
>   cell_methods :        time: mean
>   missing_value :       9.96921e+36
>   average_op_ncl :      dim_avg_n over dimension(s): z_t
>
> fatal:No coordinate variable exists for dimension (nlat) in variable (sst1)
>
>
>
> best,
> ayesha
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210322/f16dc768/attachment.html>


More information about the ncl-talk mailing list