You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

This page will give you a short overview on the recommended steps to retrieve data from MARS.

  1. Explore the archive
    The first step is to find out if the data you like to retrieve is actually archived in MARS. To do that, explore the MARS content by directly browsing the MARS Catalogue or the dataset descriptions on the main ECMWF website which in turn contain links to the MARS Catalogue. Once you found the right fields, you can use Web-MARS to "Check for availability", to "Estimate download size" or to "Retrieve the selection", just a few fields, to verify that this is the data you expect to get. In the MARS Catalogue use Ctrl+Left-Mouse-Button to select/unselect multiple list items or Shift+Left-Mouse-Button to select a range. If now you like to retrieve larger data volumes (for more dates than you can get with one request in Web-MARS), to make the data retrieve part of a script etc. you need to create a MARS request and pass is to the MARS command.

  2. Create a MARS request
    Once you found the right fields, let Web-MARS create a MARS request as a starting point by clicking on "View the MARS request" on the last page of the archive tree. Copy and paste this initial request into a file and add a line to specify your target file, e.g. target="myfile". Your saved request file can now be used to retrieve the data by calling the mars command:

    % mars myrequestfile
  3. Retrieve the data in a batch job
    As MARS retrievals can use considerable resources, the general recommendation is to retrieve data via serial batch jobs on the ecgate server. A full ecgate batch job which retrieves fields from MARS, applies some computation and transfers the resulting data to a remote site, is provided with mars_ectrans.ksh. Once all this works fine, you might want to expand your script, e.g. to loop over several requests, write to multiple target files etc. For all modifications please consider the implications these might have reg. the resources like disk space and CPU time.

For further guidance please refer to the more detailed pages in this user guide.

 

 

  • No labels