British-Oceanographic-Data-Centre / COAsT

A Coastal Ocean Assessment Tool built as an extendable python framework for nemo models
https://british-oceanographic-data-centre.github.io/COAsT/
MIT License
24 stars 11 forks source link

xesmf compatibility #505

Open jasontempestholt opened 2 years ago

jasontempestholt commented 2 years ago

xesmf appears to require esmpy=8.0.0 on both JAMSIN and LIVLJOBS see: https://xesmf.readthedocs.io/en/latest/installation.html?highlight=8.0.0#install-on-local-machine-with-conda

However this conflicts with current conda_dev_requirements2.txt
A conda environemt with only esmpy=8.0.0 specified works (for xesmf) and suggests a downgrade of: netCDF4 1.5.6 scipy 1.5.3 lxml 4.8

is needed. This may have other implications not tested.

Ideally we'd get this working with later version of esmpy to avoid this downgrade

jasontempestholt commented 2 years ago

This may be a solution: https://github.com/pangeo-data/pangeo-docker-images/issues/101

conda create … "mpi==openmpi" "esmpy==mpi_openmpi*" xesmf

jpolton commented 2 years ago

@jpolton to add words to ipynb file to close this ticket.