Skip to content

Create an environment #4

@liellnima

Description

@liellnima

Create environment for climateset extension.

Ressources:
[!] Ask Seb about his notes to set up the conda environment. (slack + add his comments here in the chat if possible)

Old requirements file: https://github.com/RolnickLab/causalpaca/blob/input4mips_backup_state_julia/requirements_data.txt

Old readme, contains some (unformatted) notes on installation, especially with the xesmf package: https://github.com/RolnickLab/causalpaca/blob/input4mips_backup_state_julia/README.md

The following command line tools must be installed (either as command line tools or in conda/poetry):

Questions:
Should we really use the old requirements file? Might be best to just start from scratch?

Hard dependencies:

  • cdo
  • ncrename
  • pyesgf
  • xarray
  • xesmf

Requirements:

  • new python version
  • documentation (even if it is just for us - with explanations)
  • works on a local machine (conda)
  • works on mila cluster (conda)
  • works on compute canada (poetry)
  • testing the environment (by trying to import the relevant packages)

This entails that the installation works with conda and poetry (cluster).

Final thoughts: handling the hard dependencies is the challenge. Adding other packages later on is usually no problem, they are not as finicky.

Metadata

Metadata

Labels

buildCore code element to be added

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions