Comments (4)
In ARCCSSive we had a finding-matching-variable script that provided a solution fort his case.
I actually had two requests for something similar only in the last week.
If we can implement it at function level then we could add another option to the command level search, so a list of variables is interpreted as
var1 AND var2 rather than
var1 OR var2.
from clef.
We have a prototype function for this, which we are currently integrating in the module.
The current function allow the user a reasonable flexibility, and returns both the query without "AND" imposed and the selection of simulations that have all variables passed as constraints.
The user can select a different attribute from variable, i.e. experiment, and in fact they can set more than one at one time.
An example of query would be
all models/ensembles that have (tasmin AND tasmax) for (piControl AND historical AND rcp45).
The prototype was built to filter the local query results and more work needs to be done for this to work also on the remote query results.
from clef.
This was released in 0.5.0
It now works also for remote queries returns dataset-ids instead of paths.
The last step is to add it to the command line.
I'm thinking something like
--and variable,experiment for example to indicate add and and filter on both variable and experiment. To make things easier I would always have (model, ensemble) as default identifier of a simulation.
This might actually make sense also for the non-command line version.
from clef.
I've added the cli version it is working fine for local both cmip5 and cmip6,
as output:
[pxp581@vdi-n4 clef]$ ~/.local/bin/clef --local cmip6 -v tas -v pr -t Amon -e piControl -mi r1i1p1f2 --and variable_id
CNRM-CM6-1 r1i1p1f2 {'v20180814'}
CNRM-ESM2-1 r1i1p1f2 {'v20181115'}
UKESM1-0-LL r1i1p1f2 {'v20190410'}
Got some positive feedback on the currently available version from users.
Also docs were fine apart from some formatting issues
from clef.
Related Issues (20)
- moving logs to hh5 HOT 2
- version is not getting updated in post_local HOT 1
- Global log file not writeable by all users HOT 2
- capture error if nothing returned by remote query with and option HOT 1
- adding "saving to file" message where appropriate HOT 2
- add function to get variant-label from path where r/I/p1/f are 0 HOT 2
- fix for CMIP6 files with wrong member_id create issue with CMIP5
- check if request submission works correctly HOT 2
- CORDEX tables missing some cordex data HOT 2
- Length of Datasets HOT 1
- access from compute nodes HOT 4
- Update to citation flag: service changed
- Enhancement: Enable alternate help flag HOT 2
- Raise the number of results that can be returned only for the remote option HOT 1
- deprecation warning for pandas
- ESGF introduced limit to remote queries HOT 1
- problem with matching query HOT 1
- fix readthedocs
- deprecation warning pandas HOT 1
- clef.data as package
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 clef.