Code Monkey home page Code Monkey logo

Comments (6)

bradyrx avatar bradyrx commented on May 24, 2024

Something I noticed after merging. Although your perfect model notebook compiled fine after some edits, two figures changed. I'm not sure if this is because of a data/function change since the notebook was originally uploaded or if I messed something up.

(1) See the table under "Predictability Horizon".

My version (with updated code from PR):

Your version from before the merge:

(2) See the map under "Bootstrapped threshold":

My version:

Your version:

from climpred.

aaronspring avatar aaronspring commented on May 24, 2024

If bootstrap was set to a value less than 500, it might not give stationary thresholds. This then affects PH. I think it’s fine

from climpred.

bradyrx avatar bradyrx commented on May 24, 2024

See bradyrx/esmtools#4. We should add this load_dataset function to climpred as well. Then we can have sample datasets to load just like in xarray. We should probably rename our sample files to make them easier to recognize and load. We can make the default github_page keyword to this repo and then add an extension to our sample data folder.

from climpred.

bradyrx avatar bradyrx commented on May 24, 2024

Okay, the load_dataset feature is done without needing any new dependencies. Example:

from climpred.loadutils import open_dataset, get_datasets

get_datasets()
>>> 'MPI-DP-1D': decadal prediction ensemble area averagesof SST/SSS/AMO.
>>> 'MPI-DP-3D': decadal prediction ensemble lat/lon/timeof SST/SSS/AMO.
>>> 'MPI-control-1D': area averages for the control run ofSST/SSS.
>>> 'MPI-control-3D': lat/lon/time for the control run ofSST/SSS.
>>> 'CESM-DP': decadal prediction ensemble of global meanSSTs.
>>> 'CESM-LE': uninitialized ensemble of global mean SSTs.
>>> 'ERSST': observations of global mean SSTs.
>>> 'CESM-reference': hindcast simulation that initializesCESM-DP.

open_dataset('CESM-reference')
<xarray.Dataset>
Dimensions:     (d2: 2, time: 816)
Coordinates:
  * time        (time) datetime64[ns] 1948-01-31 1948-02-29 ... 2015-12-31
    z_t         float32 ...
Dimensions without coordinates: d2
Data variables:
    time_bound  (time, d2) float64 ...
    SST         (time) float32 ...

from climpred.

aaronspring avatar aaronspring commented on May 24, 2024

I would prefer to label my current data as perfect-model. MPI-PM-LY-1D

from climpred.

bradyrx avatar bradyrx commented on May 24, 2024

Updated in 9ff9534. I did keep "DP" instead of "LY" for consistency with CESM.

from climpred.

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.