Versions Compared

Key

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

...

Code Block
languagebash
retrieve,
    class = od,
    expver = 1,
    stream = oper, 
    type = analysis,
    date = -10,
    time = 12,
    levtype = sfc,
    param = 165.128, # u
    grid = 1/1,
    fieldset = u
retrieve,
    param = 166.128, # v
	fieldset = v
compute,
    formula = "sqrt(u*u + v*v)",
    fieldset = speed
write,	
    fieldset = speed,
    target = "$SCRATCH/windspeed"


Additional exercise (question from Nikolaos):

This request will read previously created GRIB file, crop the European area from global domain and save it as another GRIB file:

Code Block
languagebash
read,
    source = "/ec/res4/scratch/usbk/windspeed",
    grid = 1/1,
    area = europe,
    target = "$SCRATCH/europe_windspeed"