Versions Compared

Key

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

...

A web API example requesting data for several hindcastDates (iterating over several hindcastYears, hindcastMonths and hindcastDays)

(lightbulb) Let's see how we can change the script above to iterate over several hindcastYears, hindcastMonths and hindcastDays efficiently

(grey lightbulb) Note that each Each hindcastDate is written into a separate file by setting the variable "target" accordingly.

(warning) Please note that the objective of this python script is only to demonstrate how to make a MARS request efficient. You need to adapt it to your needs.

...