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
WIP authored May 12, 2025 by Carles Tena's avatar Carles Tena
Hide whitespace changes
Inline Side-by-side
Development.md
View page @ 9df17807
This page can be used by developers to better understand certain parts of the code: This page can be used by developers to better understand certain parts of the code:
- [Conda installation](NES_Installation_Makefile)
- [Vertical Interpolation](#vertical-interpolation) - [Vertical Interpolation](#vertical-interpolation)
- [Write Grib2 files](#write-grib2-files) - [Write Grib2 files](#write-grib2-files)
- [Install and update NES inside Conda environment](#install-and-update-nes-inside-conda-environment)
- [Upload to PyPI](#upload-to-pypi) - [Upload to PyPI](#upload-to-pypi)
## Vertical interpolation ## Vertical interpolation
...@@ -108,18 +109,6 @@ fout.close() ...@@ -108,18 +109,6 @@ 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)
## Upload to PyPI ## Upload to PyPI
Every time a version is released, we should update [NES in PyPI](https://pypi.org/project/NES/). To do so, we will first create a source distribution: Every time a version is released, we should update [NES in PyPI](https://pypi.org/project/NES/). To do so, we will first create a source distribution:
......
Clone repository
  • Home
  • Tutorials
  • Trainings
  • Development
  • Contribute
  • FAQ