Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • N nes
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Earth SciencesEarth Sciences
  • nes
  • Wiki
  • Development

Development · Changes

Page history
Add 'NES inside Conda environment' tutorial to Development authored May 15, 2024 by cpinero's avatar cpinero
Hide whitespace changes
Inline Side-by-side
Development.md
View page @ 869f0ba9
...@@ -2,6 +2,7 @@ This page can be used by developers to better understand certain parts of the co ...@@ -2,6 +2,7 @@ This page can be used by developers to better understand certain parts of the co
- [Vertical Interpolation](#Vertical-interpolation) - [Vertical Interpolation](#Vertical-interpolation)
- [Write Grib2 files](#Grib2) - [Write Grib2 files](#Grib2)
- [Install and update NES inside Conda environment](#Conda-env)
## Vertical interpolation ## Vertical interpolation
...@@ -106,4 +107,14 @@ fout.close() ...@@ -106,4 +107,14 @@ fout.close()
fin.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) 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
Clone repository
  • Home
  • Tutorials
  • Trainings
  • Development
  • Contribute