Mentions légales du service

Skip to content
Snippets Groups Projects
Commit caabe214 authored by gmorvan's avatar gmorvan
Browse files

Modif of Copernicus Documentation

parent fe38bfb5
No related branches found
No related tags found
1 merge request!7First commits for the dev_newcopernicus branch
......@@ -70,7 +70,7 @@ for i=1:lh+1
end
time2=datenum(rundate_str);
for j=1:lf+1
time3(j)=datenum(rundate_str)+j;
time3(j)=datenum(rundate_str)+j-1;
end
time=cat(2,time1,time2,time3);
tiempo_inicial = time1(1);
......
......@@ -15,47 +15,60 @@ Prerequisites:
---
## 2 ways to download it:
1) typing :
> python -m pip install copernicusmarine
1) typing :
```console
python -m pip install copernicusmarine
```
2) Use of conda/mamba package (replace conda by mamba command below)
* Install a dedicated environment, by default named cmt_1.0 . First, you need to copy the file copernicusmarine_env.yml from the directory Forecast_tools/CopernicusMarineToolbox/
> conda env create -f copernicusmarine_env.yml
**Note** that you can use micromamba instead of mamba to install the python environment
Firstly, you need to activate the environment cmt_1.0 :
```console
conda env create -f copernicusmarine_env.yml
```
Note that you can use micromamba instead of mamba to install the python environment
> conda activate cmt_1.0
Firstly, you need to activate the environment cmt_1.0 :
The location of the executable (here after pathCMC) will be found typing :
```console
conda activate cmt_1.0
```
> ls $CONDA_PREFIX/bin/copernicusmarine
The location of the executable (here after pathCMC) will be found typing :
**Note** that the value returned by your terminal here, will be your pathCMC to fill in your
```console
ls $CONDA_PREFIX/bin/copernicusmarine
```
Note that the value returned by your terminal here, will be your pathCMC to fill in your
crocotools_param.m and download_glorys_data.sh script
---
## When it's installed :
You will have access to the copernicusmarine executable with various sub-command, very useful to get, extract and download data from the Copernicus Marine Data Store :
You will have access to the copernicusmarine executable with various sub-command, very useful to get, extract and download data from the Copernicus Marine Data Store :
```console
copernicusmarine -h
```
Or alternatively:
```console
$CONDA_PREFIX/bin/copernicusmarine -h
```
> copernicusmarine -h
To be used in the Matlab croco_tools, in the crocotools_param.m, you need to :
Or alternatively:
- define the path to the copernicusmarine executable (`pathCMC`) in crocotools_param.m at *section 7, Option for make_OGCM_frcst or make_OGCM_mercator*
- define your copernicus marine `login` and `password` in crocotools_param.m at *section 7, Options for for make_OGCM_frcst or make_OGCM_mercator*
> $CONDA_PREFIX/bin/copernicusmarine -h
To be used in the Matlab croco_tools, in the crocotools_param.m, you need to :
- define the path to the copernicusmarine executable (`pathCMC`) in crocotools_param.m at *section 7, Option for make_OGCM_frcst or make_OGCM_mercator*
- define your copernicus marine `login` and `password` in crocotools_param.m at *section 7, Options for for make_OGCM_frcst or make_OGCM_mercator*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment