interimR: an interim foRcing package!¶
Installation¶
Before we start¶
interimR requires
a python3 environment:
conda create -n forcing source activate forcing conda install numpy netcdf4 configparser
the ECMWF python API. You need to register and put obtained key in $HOME/.ecmwfapirc (see howto_access_dataset). Then install API with pip (check for updated version):
pip install https://software.ecmwf.int/wiki/download/attachments/56664858/ecmwf-api-client-python.tgz
cdo (available with most package managers)
Install interimR¶
Clone from github and run the install script:
git clone https://github.com/raphaeldussin/interimR.git
python setup.py install
Usage¶
Setting up your interimR¶
interimR is installing configuration files into $HOME/.interimR
Open the user.opts and add a new entry corresponding to your setup. You can add as many entry as you need.
Commands¶
- get forcing files for the chosen period in your entry::
- interimR-get-ERAinterim <your-entry>
- get land/sea mask::
- interimR-get-maskERAinterim <your-entry>
- process ERAinterim::
- interimR-process-ERAinterim <your-entry>
- process DFS 5.2::
- interimR-process-DFS52 <your-entry>