Versions Compared

Key

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

...

Code Block
% mars < myrequestfile
                             or
% mars myrequestfile

 

Simple retrieves

Retrieve 1000,850,700 and 500 hPa temperatures from the 15th of February 1999 12 UTC Analysis  > see in Catalogue 

...

Expand
titlesolution
retrieve,
    type    = fc,
    date    = -1,
    time    = 12,
    step    = 12,
    levtype = ml,
    level   = 1/2/3,
    param   = t,
    target  = "t_ml_1_2_3"

Time and step

Retrieve the 1000 hPa geopotential from yesterday's 12 UTC forecast (> see in Catalogue) for:

  • the 12 hour forecast

    Expand
    titlesolution
    retrieve,
        type    = fc,
        date    = -1,
        time    = 12,
        step    = 12,
        levtype = pl,
        level   = 1000,
        param   = z,
        target  = "z1000_a"
    
  • the 6, 12, 24 and 48 hour forecasts

    Expand
    titlesolution
    retrieve,
        type    = fc,
        date    = -1,
        time    = 12,
        step    = 6/12/24/48,
        levtype = pl,
        level   = 1000,
        param   = z,
        target  = "z1000_b"
  • the 12 hour to 240 hour forecasts at 12 hour intervals

    Expand
    titlesolution
    retrieve,
        type    = fc,
        date    = -1,
        time    = 12,
        step    = 12/to/240/by/12,
        levtype = pl,
        level   = 1000,
        param   = z,
        target  = "z1000_c"
    
  • all forecast time-steps

    Expand
    titlesolution
    retrieve,
        type    = fc,
        date    = -1,
        time    = 12,
    #   step    = all, # The value "all" is convenient to use but MARS can only report on missing steps if 
    # the full list of steps is specified:
    step = 0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/44/45/46/47/48/49/50/51/52/53/54/55/56/57/58/59/60/61/62/63/64/65/66/67/68/69/70/71/72/73/74/75/76/77/78/79/80/81/82/83/84/85/86/87/88/89/90/93/96/99/102/105/108/111/114/117/120/123/126/129/132/135/138/141/144/150/156/162/168/174/180/186/192/198/204/210/216/222/228/234/240,
    levtype = pl, level = 1000, param = z, target = "z1000_d"

Post-processing

Retrieve the 1000,500 and 300 hPa temperatures for tomorrow at noon from the 12 UTC forecast of two days ago on an N48 Gaussian Grid  > see in Catalogue

...

Expand
titlesolution
retrieve,
    type    = fc,
    date    = -1,
    time    = 12,
    step    = 24,
    levtype = sfc,
    param   = 10u/10v,
    area    = europe,       # As the area not compatible with the grid,
    grid    = 0.57/0.57,    # MARS will expand the area to make it fit.
    target  = "10u_10v"

 

Observations

Retrieve all the sea surface observations for the 1st February 2015.  > see in Catalogue

Expand
titlesolution
retrieve, 
    type    = ob, 
obsgroup= con, obstype = ssd, date = 20150201, time = 00, range = 1439, target = "obs.bufr"

Ensemble forecasts

Retrieve the surface temperature fields of the first 10 members of yesterday's 12 UTC ensemble prediction (type: perturbed forecast) for the next 3 days at noon. > see in Catalogue

...

Expand
titlesolution
retrieve,
    class   = od,
    stream  = ef,
    type    = control forecast,
    levtype = sfc,
    repres  = gg,
    date    = -1,
    time    = 12,
    step    = 48/to/96/by/24,
    param   = st,
    target  = "ensemble.cf"

ERA 40

Retrieve the vertical integral of eastward and northward heat flux as monthly means of daily means on a 1.125 by 1.125 degree latitude/longitude grid over Europe from the ERA 40 archive for January 1964 > see in Catalogue

...