MERRA-2 automatic Access

Last update: Jan. 2018

FOR PAY - Contact us for a quotation

Automatic access to meteorological variables from MERRA-2 (NASA) resource. Even if MERRA-2 is for free via a Web interface, we need to dimension our servers to welcome the large number of automatic requests. A fee is thus applied depending on the number of time series retrieved every day / month. Please for a quotation and receive your SoDa credentials.

Rename the text file with the .bat extension and double click on the .bat file to retrieve the output.csv output file (Windows environment). Rename the text file with a .sh extension and run it using >my_script.sh in a Unix environment.

your_login and your_password: this access is restricted to registered users, i.e. to users who purchased an automatic access to the data. Please contact us for a quotation or to receive your SoDa automatic access credentials

latitude and longitude: in degrees, with at least 3 digits after comma, e.g. "geopoint=45.563,7.25"

yyyy-mm-dd: the first day and last day of your request, from 1980 up to about a month ago

time_step: "1", "5", "10", "15" (minutes), "h" (hourly), "d" (daily), "m" (monthly). Automatic requests with a time step below 10 min are limited to one month, and automatic requests with a time step below one day limited to one year (identical to HelioClim-3 automatic request behavior).

Automatic access using CURL

You can also automatically retrieve MERRA-2 dataset by using the CURL command.Beware the dates!!! MERRA data are available from 1985 up to a month ago. Note that output csv files retrieved via the CURL command does not contain header.

NB: stations.txt is voluntarily identical to the one used to automatically retrieve satellite-derived solar radiation datasets HelioClim-3. Of course, a few parameters are not used to run this service but are needed for the CURL request.