Versions Compared

Key

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

...

Info
for hindcastYear in hindcastYears
for hindcastMonth in hindcastMonths
for hindcastDay in hindcastDays
hindcastDate = HindcastYear-hindcastMonth-hindcastDay
S2S-request(hindcastDate)

...

Info
  • The objective of this example is to demonstrate how to iterate efficiently over all the available hindcastYears, hindcastMonths and hindcastDays for a CMA reforecast request
  • It can be used as a starting point, however you need to keep in mind that you have to adapt it to your needseg to set the keyword values according to your requirements ("param", "levtype", "step" etc).
  • In this way you can extend this request to download the whole S2S CMA reforecast. Don't forget to check CMA availability (warning)

(warning) Please note:

  • set the variable "target"  to write each hindcastDate on a separate file .
  • taking under consideration your request's size (eg nr Nr of fields and volume)  you can merge several hindcastDates on the same "target" (smile)

...