A class and generator function to store parameters used in configuring downloads from the CMEMS servers
python
Path to the local python installation
script
path to local script for the motuclient. If NULL, then the client is invoked via use of the "-m motuclient" argument to python (under the assumption that it is already installed)
user
user name (string)
pwd
user password (string)
auth.mode
the authentication mode: [default: cas]. Use "none" for no authentication, "basic" for basic authentication, cas for Central Authentication Service
proxy.server
the proxy server (url)
proxy.user
the proxy user (string)
proxy.pwd
the proxy password (string)
socket.timeout
Set a timeout on blocking socket operations (float expressing seconds)
user.agent
Set the identification string (user-agent) for HTTP requests. By default this value is 'Python-urllib/x.x' (where x.x is the version of the python interpreter)
sync.mode
Sets the download mode to synchronous (not recommended)
block.size
The block used to download file (integer expressing bytes)
motu
the Motu server to use (url)
service.id
The service identifier (string)
product.id
The product (data set) to download (string)
variable
The variable(s) to download (vector of strings)
date.min
The min date with optional hour resolution (string following format YYYY-MM-DD [HH:MM:SS])
date.max
The max date with optional hour resolution (string following format YYYY-MM-DD [HH:MM:SS ])
latitude.min
The southern limit of the spatial subset (string)
latitude.max
The northern limit of the spatial subset (string)
longitude.min
The western limit of the spatial subset (string)
longitude.max
The eastern limit of the spatial subset (string)
depth.min
The shallow limit of the spatial subset
depth.max
The deep limit of the spatial subset
out.dir
The output directory
out.name
The filename to write to
Details and documentation on the Motu client, including releases of the software to download, can be found on the associated GitHub site, https://github.com/clstoulouse/motu-client-python
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.