Giter Club home page Giter Club logo

Comments (3)

coroa avatar coroa commented on July 20, 2024

You are right in both points that the unit conversion is inconsistent.

There was quite some iteration in the used datasets and projections in the beginning. When this was conceived it used a different runoff dataset which reported runoff in kg / m^2 / day which is about equivalent to mm / day and had shapes with areas that were given in km^2 so that you had to do:

mm / day * km^2 = 1 / 1000 * m / 24 / h * 1000^2 m^2 = 1000 / 24 * m / h

But none of this is valid anymore with the current era5 dataset and the cea projection, which uses metres directly.

But it also does not matter too much, since this function is mostly intended to generate a profile rather than a full inflow estimation for each power plant. ie. the output of this function should be rescaled according to historical output at measurement points in the river or historical annual/monthly generation of plants; so that whatever global factor is put in, will normalize out anyway.

You're invited to submit a quick PR to fix it here now.

from atlite.

JKALanger avatar JKALanger commented on July 20, 2024

Thanks for the fast and clear response.

Sorry, but I am rather new to GitHub, so I don't know how PR work. But if I understand correctly, you would just need to remove the (1000.0 / 24.0 ) term from the code.

from atlite.

coroa avatar coroa commented on July 20, 2024

Indeed

from atlite.

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.