Comments (3)
It might take sometime to found a proper fix so for the moment,
ESGF_search:
I'm changing cli.py lines ~311-317
if not ctx.obj['flow'] == 'missing': cpaths = set([re.sub(r'\/output[12]\/','/combined/',p[0]) for p in ql]) for p in cpaths: print(p)
For local search:
in clef/code.py lines ~80-82
df['pdir'] = df['path'].map(combined)
with combined:
def combined(path):
''' get path from table and converte output dirs to combined '''
pdir = os.path.dirname(path)
return re.sub(r'/output[12]/','/combined/',pdir)
These are only patches and they're in the latest collections branch
from clef.
I'm still getting a weird [pxp581@vdi-n7 clef]$ ~/.local/bin/clef cmip5 -m MIROC5 -t day -v ta -e historical
/g/data1b/al33/replicas/CMIP5/combined/MIROC/MIROC5/historical/day/atmos/day/r1i1p1/v20120710/ta/
/g/data1b/al33/replicas/CMIP5/combined/MIROC/MIROC5/historical/day/atmos/day/r3i1p1/v20120710/ta/
/g/data1b/al33/replicas/CMIP5/combined/MIROC/MIROC5/historical/day/atmos/day/r2i1p1/v20120710/ta/
/g/data1b/al33/replicas/CMIP5/combined/MIROC/MIROC5/historical/day/atmos/day/r4i1p1/v20121221/ta/
/g/data1b/al33/replicas/CMIP5/combined/MIROC/MIROC5/historical/day/atmos/day/r5i1p1/v20120622/ta/
Available on ESGF but not locally:
cmip5.output1.MIROC.MIROC5.historical.day.atmos.day.r4i1p1.v20121221 ta
cmip5.output1.MIROC.MIROC5.historical.day.atmos.day.r5i1p1.v20120622 ta
cmip5.output2.MIROC.MIROC5.historical.day.atmos.day.r4i1p1.v20121221 ta
cmip5.output2.MIROC.MIROC5.historical.day.atmos.day.r5i1p1.v20120622 ta
I changed only the print so it's strange that r4i1p1 and r5i1p1 appear both available and missing??
from clef.
I think this should be solved but since currently the ESGF-NCI is not returning any MIRIOC models it's impossible to test
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.