Code Monkey home page Code Monkey logo

Comments (4)

ogunjosam avatar ogunjosam commented on June 24, 2024

Dear @WinnieWin ,

What type of difficulties did you encounter? Are you working with gridded data or station data? If you can share snippets of the difficulties, we can take a look at it together.

Thank you.

from rainfall_onset2.

WinnieWin avatar WinnieWin commented on June 24, 2024

from rainfall_onset2.

adrHuerta avatar adrHuerta commented on June 24, 2024

Dear @WinnieWin and @ogunjosam

Sorry for my late reply
I have already checked the code and I uploaded a new one (https://github.com/adrHuerta/rainfall_onset2/blob/master/example_gh.py) using the example of @WinnieWin

Regarding the issues for both, I found the following

  • @WinnieWin as in your study area the rainfall season is within a year, is not needed to set the hydrological year
  • @ogunjosam I added a new function for getting the numeric values of the onset/cessation for each year (I add some comments in the code). It begins on 1st January for each year
  • Some issue that I found is that some parts of Ghana have two rainfall seasons (southern areas) - This is something that the code can not handle. So be careful with that.
    Look at this time series:
    For a grid where there is one single rainfall season
    Figure_1
    For a grid where there are two rainfall seasons
    Figure_4
  • Another issue is that is possible to find some bad grids where the seasonality can not be well resolved by the gridded data - If you look at the onset/cessation for each year you will notice that some values present atypical values (based on its neighboring grids). This is related to the development of the gridded datasets and can be seen as a quality control process (you can compare it with other satellite-based precipitation estimation)

Finally, I would like to mention how to handle the last two points

  • Remove grid areas where is possible to find two rainfall seasons
  • Rather than applying the onset/cessation analysis at the grid scale, it would be better to apply it at the area scale (or meteorological station scale).

Regards
Adrian

from rainfall_onset2.

WinnieWin avatar WinnieWin commented on June 24, 2024

from rainfall_onset2.

Related Issues (3)

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.