-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update conda environments, conda package recipe and documentation #146
Conversation
92bac2d
to
f8abe7d
Compare
f8abe7d
to
8b39008
Compare
8b39008
to
2bf7501
Compare
d4b424e
to
2cfc4ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty sensible & workable to me.
I've just been testing the dev environment out and ran into a couple of things: Last week
On my laptop, conda installed I'm wondering, will we need to restrict the Installing using Running the integration tests:
In the above There's no clear differences in the resulting netCDF files though. Using
I'll make a separate issue for discussion on this, as I'm not sure how strictly we want to adhere to bitwise reproducibility. |
Hi @blimlim,
Why you think it is not available on all platforms? I think the best solution would be to restrict
Your point is very interesting, and I think a separate issue is the best place to discuss that.
|
Definitely agree – since it's
Building on gadi with the same restriction works without any issues. On the coecms Anaconda page for The
I think this sounds like a great idea. I've made an issue #149 to continue discussion. |
Yeah, I had not seen that. This is a problem at the moment. For the moment probably we will have to restrict |
Added |
b5aa60b
to
8038a70
Compare
Just noticed with the version implementation, we need to add um2nc-standalone/umpost/um2netcdf.py Lines 761 to 768 in e1d78fd
Would the best way to do this be importing def add_global_history(infile, iris_out):
version = umpost.__version__
t = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
um2nc_path = os.path.abspath(__file__)
history = f"File {infile} converted with {um2nc_path} {version} at {t}"
iris_out.update_global_attributes({'history': history}) (I was hoping to add a review code suggestion for this, but don't think it lets you review unchanged files!) |
Good point! I added your suggestion in 0512700d8fdbd1aa0bb85d129118b1539d15aa23 (There are a few formatting differences in the file that have been introduced by my VSCode automatic Ruff formatting on Save). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look great! Thanks for putting this together!
dc9e2ba
to
ca0e0a2
Compare
ca0e0a2
to
c098818
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good!
c098818
to
7e8e556
Compare
Modified pyproject.toml to reflect modifications in the conda environment files. Modified meta.yaml for conda packaging. Modified CI.yml for conda-build testing. Modified README.md with instructions on how to install (Gadi, locally and dev). Removed 'develop' as a branch that triggers the CI. Removed external install of 'udunits' from README switch tag reference with hash in codecov/codecov-action small fix to CI.yml Modified itignore Included url and summary in conda recipe from pyproject.toml Removed useless env variable from CI Bumped deployment py version from 3.10 to 3.11 Fixed name for conda environment in CD.yml
7e8e556
to
588d070
Compare
Thank you @blimlim and @marc-white for your reviews. |
Fixes #106.
Fixes #129.
Fixes #60.
Superseeds #62.
The conda environments and the steps in the documentation have been all tested locally.