Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addressing the reviews for JOSS submission #83

Merged
merged 13 commits into from
May 22, 2024
Merged

Addressing the reviews for JOSS submission #83

merged 13 commits into from
May 22, 2024

Conversation

JanJereczek
Copy link
Contributor

Hi @Datseris!

This PR addresses most comments made by the reviewers for the JOSS publication. In particular:

This only leaves two points open:

  • Including Mann-Kendall correlation. I think we should just open an issue for it and implement it soon but it is not required to be done for the publication.
  • Passing an OffsetArray does not work with equispaced_step, as mentioned in definition of equispaced_step for OffsetArray errors #78. However, I think this is not a problem, since we want to have normal indexing, even for timeseries that have a variable dt. Your opinion is welcome!

Additionally, this PR permutes the left and right axes used in the plotting function. Looking at it again after a while, it appeared much more readable to me in this new version.

@Datseris
Copy link
Member

Yes, open an issue for Mann-Kendall correlation. No, it is not mandatory to pass the review.

FOr the offset-arrays: I don't understand your argument. What do you mean we want to have "normal" indexing? The indexing of an array has nothing to do with its values. You can have non-equispaced data in an OffsetArray. The time vector would be such an array.

It is very easy to solve the issue. We just change the code in this file https://github.com/JuliaDynamics/TransitionsInTimeseries.jl/blob/main/src/misc/timeseries.jl to instead of use 1 to use fi = firstindex(t). And instead of use 2, 3 to use fi + 1, fi + 2. We should just fix it, it's not much code change.

@Datseris
Copy link
Member

The .csv data used for Figs. 1 and 2 can now be generated from ewstools by running paper/code/ewstools-tuto-1.py. This addresses

Do we cite the version of ewstools? Only then the csv file can be re-generated.

@JanJereczek
Copy link
Contributor Author

The functions of src/misc/timeseries.jl now support OffsetArrays.

The version of ewstools used for benchmarking is now specified in paper.md and a corresponding check is performed in paper/code/ewstools-tuto-1.py.

Finally, I noticed our test environment had unused (heavy) packages, which I removed.

@Datseris Datseris merged commit cb0d387 into main May 22, 2024
3 checks passed
@Datseris Datseris deleted the joss-review branch May 22, 2024 15:58
@Datseris
Copy link
Member

great, thanks! Would you mind writing a reply message in the JOSS review GitHub issue?

@JanJereczek
Copy link
Contributor Author

JanJereczek commented May 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants