Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Confirmed.

Best practise to iterate over all hindcastDates of several hindcastYears for BoM

Info

The best approach is to iterate over the hindcastYears.

For each hindcastYear iterate over all the available hindcastMonths and for each hindcastMonth iterate over all the available hindcastDays.

(lightbulb) At this point you may wish to check BoM availability and to view a BoM request

...

Info
  • The objective of this example is to demonstrate how to iterate efficiently over all the available hindcastYears, hindcastMonths and hindcastDays for a BoM 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 BoM reforecast. Don't forget to check BoM availability (warning)

(warning) Please note:

  • the most efficient way is to request all hindcastDates of a hindcastMonth, in one request, like the example below.
  • you can use the variable target to write the requested data as you wish. In the example below the data is written per leveltype (sfc, pl) per hindcastMonth.

...

Info

...