Coder Social home page Coder Social logo

conda-forge recipe about esmvaltool HOT 18 CLOSED

esmvalgroup avatar esmvalgroup commented on August 18, 2024
conda-forge recipe

from esmvaltool.

Comments (18)

mkuzak avatar mkuzak commented on August 18, 2024 3

I'm 100% in favour of all lower case.

from esmvaltool.

zklaus avatar zklaus commented on August 18, 2024 3

This is now available. The feedstocks are

The packages are esmvalcore, esmvaltool-python, esmvaltool-r, esmvaltool-ncl, and esmvaltool.

from esmvaltool.

bouweandela avatar bouweandela commented on August 18, 2024 3

Nice work @zklaus! You fixed by far our oldest outstanding problem 🥳

from esmvaltool.

bulli92 avatar bulli92 commented on August 18, 2024 1

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.

bouweandela avatar bouweandela commented on August 18, 2024 1

Created a first draft here:
https://github.com/ESMValGroup/ESMValTool/blob/REFACTORING_conda_recipe/meta.yaml

from esmvaltool.

fdiblen avatar fdiblen commented on August 18, 2024 1

Created the Anaconda channel.
https://anaconda.org/esmvalgroup

from esmvaltool.

bjlittle avatar bjlittle commented on August 18, 2024

Related to #5

from esmvaltool.

bulli92 avatar bulli92 commented on August 18, 2024

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.

bulli92 avatar bulli92 commented on August 18, 2024

any need to start to compile a list of dependencies before generating the recipe?
If so, where?

from esmvaltool.

bjlittle avatar bjlittle commented on August 18, 2024

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.

bulli92 avatar bulli92 commented on August 18, 2024

o.k., in addition we would also need easytest.
I am currently packing it for conda-forge.

from esmvaltool.

bjlittle avatar bjlittle commented on August 18, 2024

@bulli92 What does easytest do that unittest, py.test, mock or testtools not already provide? I'm curious ...

from esmvaltool.

bulli92 avatar bulli92 commented on August 18, 2024

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.

bjlittle avatar bjlittle commented on August 18, 2024

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.

bulli92 avatar bulli92 commented on August 18, 2024

dummydata would be needed as additional dependency. Will convert this in a condo-forge recipe soon.

from esmvaltool.

valeriupredoi avatar valeriupredoi commented on August 18, 2024

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.

bouweandela avatar bouweandela commented on August 18, 2024

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.

valeriupredoi avatar valeriupredoi commented on August 18, 2024

indeed, many x 🍺 @zklaus

from esmvaltool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.