Comments (18)
I'm 100% in favour of all lower case.
from esmvaltool.
This is now available. The feedstocks are
- https://github.com/conda-forge/esmvalcore-feedstock
- https://github.com/conda-forge/esmvaltool-suite-feedstock
The packages are esmvalcore, esmvaltool-python, esmvaltool-r, esmvaltool-ncl, and esmvaltool.
from esmvaltool.
Nice work @zklaus! You fixed by far our oldest outstanding problem 🥳
from esmvaltool.
Yes, I agree. Graphical testing is not implemented yet.
The key challenge is that testing should be done efficiently for different diagnostics. Thus it currently allows to use either existing reference data or (current setup) generates tiny synthetic data snipets whic are then used by the diagnostics.
This is the starting point. We can do it more complex afterwards.
from esmvaltool.
Created a first draft here:
https://github.com/ESMValGroup/ESMValTool/blob/REFACTORING_conda_recipe/meta.yaml
from esmvaltool.
Created the Anaconda channel.
https://anaconda.org/esmvalgroup
from esmvaltool.
Related to #5
from esmvaltool.
is there any convention for package naming in terms of UPPER/lowercase?
Thus should it be
conda install -c condo-forge ESMValTool
or
conda install -c condo-forge esmvaltool
??
from esmvaltool.
any need to start to compile a list of dependencies before generating the recipe?
If so, where?
from esmvaltool.
An example of the dependencies are here ... so that part is pretty much done. It's easy to create a conda recipe meta.yaml
base on that to push to conda-forge staged-recipes for a new esmvaltool-feedstock
... but first we need to sort out a setup.py
to make esmvaltool
installable, ref #5.
Although, we do need to base the source for the recipe on either the REFACTORING/backend
branch or tag a version of that branch. That's a decision that we need to agree on ... thoughts anyone? @ESMValGroup/esmvaltool-developmentteam
My name is a against #5, so really I should make time to do that i.e. get my finger out. That's the blocker here, the rest will follow ...
from esmvaltool.
o.k., in addition we would also need easytest.
I am currently packing it for conda-forge.
from esmvaltool.
@bulli92 What does easytest
do that unittest
, py.test
, mock
or testtools
not already provide? I'm curious ...
from esmvaltool.
It's in principle a wrapper that uses unit test. Basic functionality is that it allows for comparison of directories, checking for file content, compare file content with reference data and so on ...
It's supposed to be used in a generic way for different projects.
For the ESMValTool testing I used it so far for to implement tests for different diagnostics that are based on synthetic data. The latter is used to allow for fast testing.
A preliminary implementation can be found here.
By the way, you had already a look on easytest after our workshop in Munich 2 years ago :-)
from esmvaltool.
Ahh, I thought it sounded familiar! 😉 Does it have graphical testing folded in? I've now implemented graphical testing in iris
based on perceptual image hashing, which makes it more resilient and robust, and less sensitive to changes in the software stack i.e. uping the version of matplotlib. This might come in handy for esmvaltool
graphical testing ...
from esmvaltool.
dummydata would be needed as additional dependency. Will convert this in a condo-forge recipe soon.
from esmvaltool.
the conda feedstock will come in very handy for users to start complaining about environment and build issues, other than on the main gitHub issues page, I can try set up a test recipe in the next few days 🍺
from esmvaltool.
Note that @zklaus has made some progress on this issue and esmvalcore
as well as esmvaltool-python
are now available on conda-forge.
from esmvaltool.
indeed, many x 🍺 @zklaus
from esmvaltool.
Related Issues (20)
- Fixing global attributes for recipe_martin18grl HOT 1
- Documentation build is failing HOT 2
- CMORize tool fails for RAWOBS if directory structure does not include Tier2/Tier3 HOT 1
- Warnings during full development installation HOT 2
- Consider using sphinx-autoapi HOT 1
- New recipe and diagnostic for calculating Lamb Weathertypes HOT 2
- data format command broken for HadCRUT4: too many months? HOT 1
- Replace the MO-specific URL in the RTW with a public URL
- Investigate slurm `--ntasks` and ESMValTool's `MAX_PARALLEL_TASKS` for RTW HOT 1
- Add "How to add a site" to RTW documentation
- Missing data for `recipe_bock20jgr_fig_8-10.yml` HOT 2
- Missing data on DKRZ for `recipe_check_obs.yml` HOT 3
- Diagnostic failure for `recipe_wenzel16jclim.yml` on `v2.11.0rc1` HOT 2
- Update the list of broken recipes for `v2.11.0` HOT 2
- Add the `recipe_ocean_amoc.yml` recipe to the RTW
- Update `precommit` rev to fix `precommit` installation error
- Add code owners for the RTW
- Include verbose output from `compare.py` in RTW
- Fix failing tests after CMIP6 climate patterns merge HOT 4
- Broken R recipes from v2.11.0 due to use of R v4.3.0
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 esmvaltool.