... | ... | @@ -2,6 +2,7 @@ This page can be used by developers to better understand certain parts of the co |
|
|
|
|
|
- [Vertical Interpolation](#Vertical-interpolation)
|
|
|
- [Write Grib2 files](#Grib2)
|
|
|
- [Install and update NES inside Conda environment](#Conda-env)
|
|
|
|
|
|
## Vertical interpolation
|
|
|
|
... | ... | @@ -106,4 +107,14 @@ fout.close() |
|
|
fin.close()
|
|
|
```
|
|
|
|
|
|
## Install and update NES inside Conda environment
|
|
|
NES can be installed in a Conda environment by following these steps:
|
|
|
1. Load anaconda in your machine
|
|
|
2. Activate your conda environment by doing `conda activate <your_environment_path>`
|
|
|
3. Locate the `setup.py` file inside NES and do `python setup.py install`.
|
|
|
|
|
|
This will install the current version of NES that is in the machine. If NES is updated, we also need to update it manually inside the Conda environment.
|
|
|
1. Update the NES version in the machine used for the Conda environment, e.g. deploy the NES code there.
|
|
|
2. Repeat the steps above for the installation.
|
|
|
|
|
|
You can also check the complete [NES source code](https://earth.bsc.es/gitlab/es/NES/-/blob/master/nes/nc_projections/default_nes.py#L2977) |
|
|
\ No newline at end of file |