Code Monkey home page Code Monkey logo

rainfall_onset2's Introduction

rainfall_onset2

This is an updated version of adrHuerta/rainfall_onset.

In adrHuerta/rainfall_onset I focused on the methodology of Liebmann et al. (2012), therefore the code is not as fast as expected, and can not be directly used for gridded data. Here I provide a faster version using (almost) pure R/python.

Figure. Sample total precipitation (mm) in the first year for the wet period. Data source: PISCOp

rainfall_onset2's People

Contributors

adrhuerta avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rainfall_onset2's Issues

rainfall_onset2 on Ghana data

I attempted to use the [rainfall_onset2] with my data but encountered some difficulties.
Please, I would appreciate it if you could take a look at it for me.

clarification of some parameters in getOnsetCessation.py

Hi,

Great work with the python code for climatological analysis of rainfall using satellite data; very helpful and relevant.

I am trying to use the code for a similar analysis, but first, I need to even repeat the code for the Ghana study area to understand exactly what each line of code is doing or trying to achieve.

In line 1 dailyClim function is defined but never used in the code. Can one ignore this function and still get results? Besides, line 4 in that function yields an error since the input data copied in line 3 is 3-d which is been reshaped to a 2-d

In line 9 of getOnsetCessation.py code, in the getDate function, you define a wInd parameter; could you please provide some info on this parameter? Later on, I saw you used wInd = 45 (in line 18) in the getOnsetCessation function. Is wInd an index value, a threshold value relating to date, or should wInd be calibrated per study location?

More questions might follow :)

Onset and cessation dates in Julian Days

I will like to commend the details and robustness of the Python code. It is quite useful for my current project.

The current implementation outputs onset and cessation dates as indexes. Is it possible to have both onset and cessation dates as Julian days (number of days from January 1)?

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.