[ncl-talk] Data model.nc required
Dennis Shea
shea at ucar.edu
Mon Mar 12 08:13:35 MDT 2018
The 'model.nc' was meant to indicate a 'generic' model output file. It
could be *any* file (eg: reanalysis file). The point was to illustrate the
input to *wrf_cape_3d *does *not *have to be a WRF file. The function just
needs the correct input.
Example: I had a climate model netCDF file containing monthly mean
variables. Now, in practice, a user would not compute CAPE using monthly
mean data. However, I had the file readily available. So for illustration:
---
diri = "./"
fili = "ccsm35.h0.0021-01.nc"
pthi = diri+fili
f = addfile(pthi, "r")
;; p = f->P ; the climate model uses hybrid levels; compute 'p'
hya = f->hyam
hyb = f->hybm
p0 = f->P0
psfc = f->PS
p = pres_hybrid_ccm(psfc,p0,hya,hyb)
t = f->T
q = f->Q
z = f->Z3
zsfc = f->PHIS
zsfc = zsfc/9.8 ; m^2/s^2 ==> m
printVarSummary(zsfc)
cinfo = wrf_cape_3d(p, t, q, z, zsfc, psfc, False) ; cinfo(2,...)
printVarSummary(cinfo)
===
Variable: cinfo
Type: float
Total Size: 3317760 bytes
829440 values
Number of Dimensions: 5
Dimensions and sizes: [cape_cin | 2] x [time | 1] x [lev | 30] x [lat |
96] x [lon | 144]
Coordinates:
Number Of Attributes: 1
_FillValue : 9.96921e+36
On Sun, Mar 11, 2018 at 10:30 PM, <vivek at ncmrwf.gov.in> wrote:
> Dear Sir/Madam,
> I am trying to calculate CAPE using "wrf_cape_3d" utility of ncl.
> Regrding this, I need model.nc data so that i could exactly prepare my
> data accordingly.
>
> Kindly provide me the data.
>
> Thank you.
>
> Vivek
>
>
> --
> Yours Sincerely
> ----------------
> Vivek Singh
> (Scientist-'C')
> NCMRWF,A-50, Sector-62,
> Ministry of Earth Sciences
> NOIDA.U.P. 201309
> Mobile:09821123574,07042321724
> Institute Website: www.ncmrwf.gov.in
> Alternate email: vivek.sgh1 at gmail.com
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180312/294006b9/attachment.html>
More information about the ncl-talk
mailing list