Giter VIP home page Giter VIP logo

Comments (3)

paolap avatar paolap commented on July 21, 2024

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.

paolap avatar paolap commented on July 21, 2024

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.

paolap avatar paolap commented on July 21, 2024

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)

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.