[ncl-talk] Troubles in vertical integral using NCL(vibeta, dpres) and Geocat (comp.dpres_plevel)
Dennis Shea
shea at ucar.edu
Mon Jun 27 18:24:02 MDT 2022
Sorry: I have not looked at your codes or figures.
However, if you look at:
* https://www.ncl.ucar.edu/Applications/wind.shtml*
<https://www.ncl.ucar.edu/Applications/wind.shtml>
Look at examples:
*mfc_div_1.ncl*
*mfc_div_2.ncl*
====*=====*
;---Calculate the Horizontal Moisture Flux Convergence [MFC]
Some extracted code lines
dp = *dpres_plevel_Wrap*(plev, ps, ptop, 0) ; Pa; layar thickness
dpg = dp/g
---
uq = u*q
;---Integrated mass weighted moisture flux components
uq_dpg = uq*dpg ; mass weighted 'uq';
[m/s][g/kg][kg/m2]=>[m/s][g/kg]
iuq = *dim_sum_n*(uq_dpg, 1) ; summation/integration
========
On Mon, Jun 27, 2022 at 3:52 AM Appo derbetini via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Dear NCL community,
>
> I want to integrate moisture flux using ncl or python.
> For this purpose i wrote ncl codes with VIBETA and DPRES functions. I
> tried the same thing in python (GEOCAT.COMP).
>
> Surprisingly, each code is doing its own work !!!
>
> Attached, codes and figures produced.
>
> There is something I am doing wrong?
>
> Any suggestion is welcome.
>
> Best regards
> _______________________________________________
> 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/20220627/b1556346/attachment.htm>
More information about the ncl-talk
mailing list