Comments (7)
Thanks for the suggestion! GCPy is actually already available on conda-forge as geoschem-gcpy. However, the version there is v1.3.2 and we have had a few releases since (1.3.3, 1.4.0). We should update that since it looks like there is demand for this. The conda-forge page says there have been >40k downloads.
from gcpy.
Thanks @lizziel and @sdeastham. It may be a while since we can get to this. Also, I think the issue that we had was that a package update broke the GCPy package (i.e. they de-listed older ESMF versions). For the time being we have been specifying an environment file with packages that we know work.
One tricky thing: when you make a package it is expected that it should work with a number of Python versions. We haven't really tested with anything other than Python 3.9 (since in Python 3.10 there were some updates to the language that may have broken legacy features). Then you go down the rabbit hole of Python Package Hell.
We of course will gladly accept any assistance from the community in restoring the package (or giving us best practices):
@msulprizio @kilicomu @laestrada @lizziel @yidant
from gcpy.
So with a little bit of fiddling, I was able to push the 1.4.2 release of GCPy to PyPi. See: https://pypi.org/project/geoschem-gcpy/1.4.2/
There is also a way of setting up a GitHub action so that this will be done automatically at each release. I need to figure out how to do that.
from gcpy.
Actually there are instructions: https://medium.com/@VersuS_/automate-pypi-releases-with-github-actions-4c5a9cfe947d. I'll check this out.
from gcpy.
Closed by #294
from gcpy.
Thanks for the suggestion! GCPy is actually already available on conda-forge as geoschem-gcpy. However, the version there is v1.3.2 and we have had a few releases since (1.3.3, 1.4.0). We should update that since it looks like there is demand for this. The conda-forge page says there have been >40k downloads.
This is great to know, and thank you @lizziel and @yantosca for the swift action!
For what it's worth, I'd suggest that the Installing GCPy page (https://gcpy.readthedocs.io/en/stable/Getting-Started-with-GCPy.html#) include this information. I suspect that, for most users, installing with conda/mamba is hugely preferable to a GitHub download (it certainly is for me). Nonetheless, thanks again!
from gcpy.
Thanks @sdeastham. We will update the page. We made a quick 1.4.2 release to test if it could be released on PyPi, but we anticipate a 1.4.3 or 1.5.0 release soon as we have a couple more features esp. for the benchmarking.
FYI, the 1.4.2 release got pushed to PyPi but somehow it did not build for conda-forge. This needs to be investigated. It could be that conda-forge has stricter requirements. We are also using some out-of-date packages (specifically esmpy 8.1.1 and the RTD packages) so maybe conda-forge doesn't like that.
from gcpy.
Related Issues (20)
- [BUG/ISSUE] Issue with colorbars and axis labels in latest benchmark plots HOT 3
- [FEATURE REQUEST] Split plot.py into smaller modules and move these into gcpy/plot HOT 1
- Install GCPy HOT 3
- [BUG/ISSUE] Error generating mass table and radionuclide budget for the GCHP 1-year transport tracers benchmarks HOT 1
- [FEATURE REQUEST] Consolidate and rename regridding files and functions HOT 2
- [BUG/ISSUE] "Cannot load backend 'TkAgg'" error when trying to regrid restart from lat-lon to cube sphere HOT 3
- [regridding between cubed-sphere and lat-lon]
- [FEATURE REQUEST] Add dry deposition velocities to benchmark output HOT 3
- Update benchmarking scripts to look for species_database.yml in the Config rundir archive folder HOT 2
- [BUG/ISSUE] - Regridding GCHP C48 to standard lat x lon HOT 3
- TypeError encountered when running file_regrid.py HOT 1
- GCPy 1.4.1 usages of seaborn-talk is deprecated in older matplotlib versions HOT 2
- Problems creating virtual environment compatible with GCPy 1.4.1 HOT 1
- Plot parallelization off failing in GCPy 1.4.1 HOT 4
- [FEATURE REQUEST] Transport tracer benchmark improvements HOT 2
- file_regrid.py creates GCHP restart files with variable name `DELPDRY` instead of `DELP_DRY` HOT 1
- pip install geoschem-gcpy==1.4.2 fails with error due to awscli version HOT 2
- [FEATURE REQUEST] Clean up start/end time usages in benchmark scripts HOT 1
- [FEATURE REQUEST] Transport Tracers benchmark for less than one year HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcpy.