Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Before plotting the field you can use the cdo software to conservatively regrid the data, for example from 0.1˘x0.1˘ to 0.5˘x0.5˘ regular latitude-longitude grid:

Code Block
languagebash
cdo -s gencon,grid.R720x360.txt frp_01.grb remapweights.rencon.R3600x1800.to.R720x360.grb

cdo -s remap,grid.R720x360.txt,remapweights.rencon.R3600x1800.to.R720x360.grb frp_01.grb frp_05.grb

...

The content of grid definition file (grid.R720x360.txt) is:

Code Block
languagetext
#
# gridID 2
#
gridtype  = lonlat
gridsize  = 259200
xname     = lon
xlongname = longitude
xunits    = degrees_east
yname     = lat
ylongname = latitude
yunits    = degrees_north
xsize     = 720
ysize     = 360
xfirst    = 0.25
xinc      = 0.5
yfirst    = 89.75
yinc      = -0.5

Content by Label
showLabelsfalse
max5
spacesCKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("grib","python","plot","visualize") and type = "page" and space = "CKB"
labelsplot python grib visualize

...