[ncl-talk] How to determine the output levels in WRF
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Sat Jul 25 10:23:26 MDT 2020
I think you are asking for the coordinate values. In both NCL and the
Netcdf data format, each dimension of an array has a "dimension name" and
also a "coordinate variable" associated with that dimension. So if "u" has
three dimensions, it also has three associated coordinate variables. In
NCL, you can print the values of each coordinate variable like this:
print (u&bottom_top)
print (u&south_north)
print (u&west_east)
For more information about coordinate variables and named dimensions,
please see the first two sections of this documentation page:
https://www.ncl.ucar.edu/Document/Manuals/Getting_Started/basics.shtml
On Fri, Jul 24, 2020 at 10:09 PM Mohd Noor'Arifin Bin Hj Yussof via
ncl-talk <ncl-talk at mailman.ucar.edu> wrote:
> Dear NCL Experts,
>
>
> I have WRF output data with VarSummary as below:
>
>
> *Variable: u*
>
>
> *Dimensions and sizes: [bottom_top | 39] x **[south_north | 99] x **[west_east |
> 99] *
>
>
> How do I print the individual values of the dimensions and sizes? I want
> to know the individual values of the "bottom_top" data (which I know is the
> altitude levels, correct?)
>
>
> For example, I know the 0th value corresponds to = Surface level at 10m
>
>
> But I want to know the 1st,2nd,3rd ..... 40th value and their
> correspondence.
>
>
> Kind Regards,
>
> *Arifin Yussof*
> *Meteorological Officer*
> *Officer in Digital Product Support and Numerical Weather Prediction
> (DSNP),*
> *Strategy and **Development **Division,*
> *Brunei Darussalam Meteorological Department, **Ministry of Transport and
> Infocommunications*
>
> *Address: **Block B23, Anggerek Desa Flat , **Simpang 32-37, **Kampung
> Anggerek Desa, **Brunei Darussalam BB3713*
>
> Telephone number: (+673) *2381342 ext 233* - Website:
> http://www.met.gov.bn - Instagram/Facebook: *@bruneiweather *- Mobile
> App: *Brunei WX*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200725/5ab927cb/attachment.html>
More information about the ncl-talk
mailing list