To learn more about MARS and how to use it, please visit the MARS user documentation. |
One of the big features of the European Weather Cloud is the fast access to data resources. If you want to access MARS from the European Weather Cloud, here is what you need to do.
For fast MARS access, you will need to provision your instance on the ECMWF cloud. |
Ubuntu, CentOS and Rocky have support for native MARS client.
When provisioning a new instance:
export MARS_DHS_LOCALHOST=<your_public_ip> |
If you wish to convert an existing instance, you can select it, and "Action -> run workflow -> click the list icon and select something like "Install ECMWF software nexus".
The command-line client will be pre-installed if you chose the "*-data" layout, but you will need an extra step so MARS knows who you are when you issue your requests.
You may only access data you have been granted access to. In some cases you may not be able to retrieve valid forecast data. |
You may test your connection by any valid MARS request. You have a number of examples in MARS example requests.
If you have access to real time data, a quick one-liner to test everything works is:
The command should end with 0 exit code, a message stating "No errors reported" and a new file called test.grib containing 6 GRIB fields. You may decode them using ecCodes. |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|