Comments (3)
@koldunovn , thanks for this.
The point is, that the diagnostic currently in ESMValTool was done with an older version of geoval.
@BenMGeo developed this diagnostic.
Since then we have c�hanged the default behavior of many geoval functions. Instead of numpy arrays, they now return by default a GeoData
object. I think this is the problem for the fldmean
function. You can see current implementation here.
A fix would be easy I think. Instead of
File "./diag_scripts/aux/LMU_ESACCI-diagnostics/diagnostic.py", line 859, in _p_stat
_std_data=np.sqrt((D2.fldmean()-_mean_data**2))
It should be
File "./diag_scripts/aux/LMU_ESACCI-diagnostics/diagnostic.py", line 859, in _p_stat
_std_data=np.sqrt((D2.fldmean(return_data=False)-_mean_data**2))
Can you check? It might be that similar problems also occur at other places. Perhaps you can check if it works for this particular problem and make a PR. In general @BenMGeo would need to revise the diagnostic to make sure that everything works with the currently officially published version of geoval.
In the future we will easily capture these issues through automatic testing of all diagnostics. As we are in a transition phase at the moment it is good to have such Master users like you :-)
from esmvaltool.
Thanks for nice words, Alex. I will try to do what I can :)
I have applied the fix in several places and made a PR #49 . It worked to the level of passing thought the script and ending successfully. However the plots that are generated have only coastlines on them. I had to hack geoval itself in couple of places to make the plots work.
from esmvaltool.
@koldunovn can we close this? as we drop V1 and I need to recode everything for V2 either way.
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.