Git Product home page Git Product logo

marineheatwaves's People

Contributors

ecjoliver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

marineheatwaves's Issues

Bug when MHW finishes at end of time series

Hello,

There is a small bug when a MHW finishes at end of time series and when its Peak is also at end of time series. There is a test at line 408 to assume decline time equals 1 day :
if tt_peak == T-1:
but it should be
if tt_start + tt_peak == T-1:

Sébastien

Some problems in use

Hello!

First, thanks for providing your algorithms as open source.
This is extremely helpful.

Then, in the process of actual use, we encountered the following problem. Is there a better solution.

Any suggestions would be appreciated.

File "/icar/ljj_hujl/marineHeatWaves-master/marineHeatWaves.py", line 388, in detect
mhw['category'].append(categories[np.min([cats[tt_peakCat], 4]).astype(int) - 1])
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index -5 is out of bounds for axis 0 with size 4

Threshold calculation?

first of all, thank you so much for making this code available on both python and R. I had a query regarding threshold calculation while creating a daily climatology using a user-specified sliding window. As suggested in Hobday et al. (2016) that the users should be cognisant of the biases that might be introduced at the start and end of the base period when calculating threshold exceedances. They also suggested using a bootstrapping procedure such as defined by Zhang et al. (2005) to calculate percentile from subsets of the data.

Python vs. R versions

First, thanks for providing your algorithms as open source.
This is extremely helpful.

Second, are there any key algorithmic differences between this code base and
the R version (aside from the obvious syntax)? I am not keen on learning R at
this stage but wonder if the R version has advanced functionality
and/or bug fixes.

Any guidance you can provide would be most appreciated.

Looking at altering thermal extremities in summer/winter periods

Hi guys,
I am interesting in applying the fantastic Heatwaver package in R for temperature data (+30 years) collected in freshwater systems in western Europe but was hoping to separate and highlight temperature extremities in both the summer and winter months - which would require different threshold metrics. Is this possible with heatwaveR?
Any suggestion would be most appreciated.

Netcdf creation

Hi,
Thank you for the incredibly helpful scripts. However, I'm following the Net.cdf creation from MHW results script and I need some help.
The shell sets up nicely; however, only the information from the first lon lat is read into the Net cdf document.
e.g.
, , lat = 41.0092277526855

    lon

event_no 1.04260063171387 1.09264658918284 1.14269254665182 1.1927385041208 1.24278446158977 1.29283041905875
1 2.0685 NA NA NA NA NA
2 2.1377 NA NA NA NA NA
3 2.5330 NA NA NA NA NA
4 1.9798 NA NA NA NA NA
5 2.2583 NA NA NA NA NA
6 1.7431 NA NA NA NA NA

I haven't changed any of the script so I'm not to sure why this is happening.

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.