Examples of scripts

Last update: Feb. 2018

 

    Download compressed files containing all the examples of scripts to automatically access diverse SoDa resources (HelioClim-3 Archives, HC3 real time, HC3 forecasts, idem + Meteo data, HelioClim-1, CAMS radiation service, CAMS McClear, GFS, MERRA-2):

Please look in the table below for the example that best suits your needs.
Remarks:

  • The directory names are identical whether you are on Unix or Windows.
  • The site is Carpentras, France (44.083°, 5.059°), which has a guest permanent access.
  • Each example proposes an automatic switch to SoDa mirror server if the main one is out of order.
  • Note also that the CAMS examples can not work "as-is", since you must be registered on the SoDa website to be allowed to retrieve CAMS time series. Please modify the examples by specifying your own email address (modify: "myemailaddress%%2540mycompany.com")

Description of the compressed files

SERVICE WGET CURL
HelioClim-3 Archives In hc3/wget_example_hc3_archives/:
Example of HelioClim-3 version 5 request using wget.

In hc3/wget_example_hc3_past_days/:
Example of automatic HelioClim-3 version 4 request using wget and scheduled tasks (or cron)

In hc3/wget_example_hc3_past_month/:
Example of automatic HelioClim-3 version 5 request using wget and scheduled tasks (or cron)
In hc3/curl_example_hc3_archives/:
Example of HelioClim-3 version 5 requests using curl

In hc3/curl_example_hc3_past_days/:
Example of automatic HelioClim-3 version 4 requests using curl and scheduled tasks (or cron)

In hc3/curl_example_hc3_past_month/:
Example of automatic HelioClim-3 version 5 requests using curl and scheduled tasks (or cron)
HC3 Archives + Meteo data In hc3_meteo/wget_example_hc3_meteo_archives/:
Example of HC3+METEO version 5 request using wget

In hc3_meteo/wget_example_hc3_meteo_past_days/:
Example of automatic HC3+METEO version 4 request using wget and scheduled tasks (or cron)

In hc3_meteo/wget_example_hc3_meteo_past_month/:
Example of automatic HC3+METEO version 5 request using wget and scheduled tasks (or cron)
In hc3_meteo/curl_example_hc3_meteo_archives:
Example of HC3+METEO version 5 requests using curl

In hc3_meteo/curl_example_hc3_meteo_past_days:
Example of automatic HC3+METEO version 4 requests using curl and scheduled tasks (or cron)

In hc3_meteo/curl_example_hc3_meteo_past_month:
Example of automatic HC3+METEO version 5 requests using curl and scheduled tasks (or cron)
HelioClim-3 Current Day In hc3/wget_example_hc3_persistence_forecast/:
Example of automatic HelioClim-3 Persistence Forecast request using wget and scheduled tasks (or cron)
In hc3/curl_example_hc3_persistence_forecast/:
Example of automatic HelioClim-3 Persistence Forecast requests using curl and scheduled tasks (or cron)
HC3 Current Day + Meteo data In hc3_meteo/wget_example_hc3_meteo_persistence_forecast/:
Example of automatic HC3+METEO Persistence Forecast request using wget and scheduled tasks (or cron)
In hc3_meteo/curl_example_hc3_meteo_persistence_forecast/:
Example of automatic HC3+METEO Persistence Forecast requests using curl and scheduled tasks (or cron).
HelioClim-3 Similarity Forecast In hc3/wget_example_hc3_similarity_forecast/:
Example of automatic HelioClim-3 Similarity Forecast request using wget and scheduled tasks (or cron)
In hc3/curl_example_hc3_similarity_forecast/:
Example of automatic HelioClim-3 Similarity Forecast requests using curl and scheduled tasks (or cron)
HC3 Similarity Forecast + Meteo data In hc3_meteo/wget_example_hc3_meteo_similarity_forecast/:
Example of automatic HC3+METEO Similarity Forecast request using wget and scheduled tasks (or cron)
In hc3_meteo/curl_example_hc3_meteo_similarity_forecast/:
Example of automatic HC3+METEO Similarity Forecast requests using curl and scheduled tasks (or cron)
HelioClim-1 In hc1/wget_example_hc1_archives/:
Example of HelioClim-1 request using wget
In hc1/curl_example_hc1_archives/:
Example of HelioClim-1 requests using curl
CAMS radiation service In cams_radiation/wget_example_cams_radiation_archives/:
Example of CAMS Radiation request using wget
In cams_radiation/curl_example_cams_radiation_archives/:
Example of CAMS Radiation request using curl
CAMS McClear In cams_mcclear/wget_example_cams_mcclear_archives/:
Example of CAMS McClear request using wget
(Not available)
GFS In gfs/wget_example_gfs_forecast/:
Example of automatic GFS Forecast requests using wget and scheduled tasks (or cron)
In gfs/curl_example_gfs_forecast/:
Example of automatic GFS Forecast requests using curl and scheduled tasks (or cron)
MERRA-2 In merra2/wget_example_merra2_archives/:
Example of MERRA-2 request using wget
In merra2/curl_example_merra2_archives/:
Example of MERRA-2 requests using curl

Top of page