[ncl-talk] Open a single level in GRIB2

Dennis Shea shea at ucar.edu
Wed Jun 8 22:22:07 MDT 2016


You should read documentation. Specifically "coordinate subscripting?

http://www.ncl.ucar.edu/Document/Manuals/

Look at the
   Mini-Language <http://www.ncl.ucar.edu/Document/Manuals/language_man.pdf>

Also, the tutorials by DKRZ
   DKRZ: NCL Tutorial Version 1.1
<https://dl.dropboxusercontent.com/u/8357888/homepage/tutoriais/ncl/NCL_Tutorial_V1.1.pdf>
   DKRZ: Examples and Exercises
<https://dl.dropboxusercontent.com/u/8357888/homepage/tutoriais/ncl/NCL_Exercises_and_Tasks_all.pdf>

<http://www.ncl.ucar.edu/Document/Manuals/language_man.pdf>
--------------------
NOTE: there should be no spaces before or after the ->
v = f->VGRD_P0_L100_GLL0         ; [Lv_ISBL0 | 26] x [lat_0 | 361] x [lon_0
| 720]

  plev = 500
  v = f->VGRD_P0_L100_GLL0 ({plev}, :,:)   ; all points at 500 hPa
  plev = 50000
  v = f->VGRD_P0_L100_GLL0 ({plev}, :,:)

  latS = 30.0
  latN = 60.0
  lonL = 75.0
  lonR = 205.0

  v = f->VGRD_P0_L100_GLL0 ({plev}, {latS:latN}, {lonL:lonR})

Again, it is recoomended that you read the documentation

On Wed, Jun 8, 2016 at 10:04 PM, Miriam Teresita Llanes Monteagudo <
miriam.llanes64 at gmail.com> wrote:

> Hello
>
> It is the file name. The original file is
>
> f = AddFile ("gfsanl_4_20090129_0000_000.grb2", "r")
>
> v = f-> VGRD_P0_L100_GLL0; [Lv_ISBL0 | 26] x [lat_0 | 361] x [lon_0 | 720]
>
> I put this name of the v component of wind, but this way I get all
> vertical levels. I need only the level of 500 hPa (50000 Pa).
> What should I do?
> Thank you very much
>
> _______________________________________________
> 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/20160608/1d44f4a8/attachment.html 


More information about the ncl-talk mailing list