Versions Compared

Key

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

...

Info
titleThe main idea in brief:
for Hdate in Hdate-list
     your-s2S-request(Hdate)

An example to request Control forecast, pressure levels from 2010-03-01 to 2010-03-31

Info
titleThe main idea in brief:
for each Hdate from 2010-03-01 to 2010-03-31
call your-s2ss2S-request(Hdate)

An example of  "your-API-S2S-request"

...

Info
titleThe main idea in brief:
The best approach is to iterate over the Hyears you wish. For each Hyear iterate over all Hmonths and for each Hmonth iterate over all its Hdays.

for Hyear in Hyears
for Hmonth in Hyear
for Hdays in Hmonth
Hdate = Hyear-Hmonth-Hday
                 your-s2S-request(Hdate)

What is the best approach to get all Hdays for several Hyears and Hmonths  and for several hindcasts ?

Info
titleThe main idea in brief:
for Hyear in Hyears 
for Hmonth in Hyear
for Hdays in Hmonth
             Hdate = Hyear-Hmonth-Hday
             your-S2Ss2S-request(Hdate)
 

An example to request Control forecast, sfc, for Hyears 2010-2014 for 2 Hmonths  (eg April and June)

Info
titleThe main idea in brief:
for each Hyear from 2010 to 2014
    for Hmonth in April, June
        for Hday in Hmonth
             Hdate = Hyear-Hmonth-Hday
             your-S2Ss2S-request(Hdate)