[ncl-talk] Comparison of vertical profiles of variables defined at different pressure levels.

Lyndz olagueralyndonmark429 at gmail.com
Fri May 28 00:26:35 MDT 2021


Hi Bidyut,

Is this a wrf output? Please check this one.
https://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_vert_interp.shtml

If not, how about creating common bins for the two data. Then take the
average of the values for each bin so you can compare them?

Hope this helps.

Lyndz


On Fri, May 28, 2021 at 12:41 PM Bidyut Bikash Goswami via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Dear All,
>
> I want to compare the vertical profiles of my model simulated variable
> with observations. But *my model variables are defined over the following
> pressure levels,*
>
> Variable: p
> Type: float
> Total Size: 120 bytes
>             30 values
> Number of Dimensions: 1
> Dimensions and sizes: [lev | 30]
> Coordinates:
>             lev: [3.643466..992.5561]
> Number Of Attributes: 2
>   long_name : Pressure [mb]
>   units : mb
> (0) 3.643466
> (1) 7.59482
> (2) 14.35663
> (3) 24.61222
> (4) 38.2683
> (5) 54.59548
> (6) 72.01245
> (7) 87.82123
> (8) 103.3171
> (9) 121.5472
> (10) 142.994
> (11) 168.2251
> (12) 197.9081
> (13) 232.8286
> (14) 273.9108
> (15) 322.2419
> (16) 379.1009
> (17) 445.9926
> (18) 524.6872
> (19) 609.7787
> (20) 691.3894
> (21) 763.4045
> (22) 820.8584
> (23) 859.5348
> (24) 887.0203
> (25) 912.6445
> (26) 936.1984
> (27) 957.4855
> (28) 976.3254
> (29) 992.5561
>
> *And I have observations defined over:*
> Variable: po
> Type: float
> Total Size: 72 bytes
>             18 values
> Number of Dimensions: 1
> Dimensions and sizes: [18]
> Coordinates:
> Number Of Attributes: 2
>   long_name : Pressure [mb]
>   units : mb
> (0) 115
> (1) 165
> (2) 215
> (3) 265
> (4) 315
> (5) 365
> (6) 415
> (7) 465
> (8) 515
> (9) 565
> (10) 615
> (11) 665
> (12) 715
> (13) 765
> (14) 815
> (15) 865
> (16) 915
> (17) 965
>
> What is the best way of extrapolating the observations to the same
> vertical levels as the model levels?
>
> Regards,
> Bidyut
> _______________________________________________
> 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/20210528/3fbdaba6/attachment.html>


More information about the ncl-talk mailing list