Versions Compared

Key

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

...

Info

Following the previous paragraphthe natural way to group requests would be:
all parameters, all levels, all members, all time-steps for 1 date.

(warning) Note the following:

  1. 'all' means 'all' that the user wants. It doesn't have to be all parameters.
  2. If a user is interested only on z500,  he may request more dates in one go, since the overall request will not be so big.

What is the most efficient way to loop over several CMA requests?

Info
titleThe main idea in brief:

Taking under consideration what has been explained above,  if you need to loop in several CMA MARS request, the best approach would be the following:

  • date
    • hindcast date
      • number (EPS only)
        • level
          • parameter (inner loop)

...

 What is the best approach to loop over several dates and hincast-dates for a CMA request?

Info
titleThe main idea in brief:
for date in datesdate-list
     for hindcast in hindcast-dates-list
      your-request (includes the levels, parameters, steps etc)

...

An example to request Control forecast, pressure levels, for years 2010-2014 for 2 months (eg April and June)

Info
titleThe main idea in brief:
for each year from 2010 to 2014
    for months April, June
for each hindcast date
your-request

...