{"id":41210,"name":"heatwave3","description":"The Goal of this package is to make life easier when working with the Hobday et al. marine heatwave definition on large datasets.","url":"https://github.com/robwschlegel/heatwave3","last_synced_at":"2026-05-14T13:08:17.498Z","repository":{"id":184651090,"uuid":"672252717","full_name":"robwschlegel/heatwave3","owner":"robwschlegel","description":"Apply the Hobday et al. (2016, 2018) marine heatwave definition directly to NetCDF files.","archived":false,"fork":false,"pushed_at":"2024-06-13T16:45:16.000Z","size":2600,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-05-10T11:40:57.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://robwschlegel.github.io/heatwave3/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robwschlegel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-29T12:45:06.000Z","updated_at":"2025-10-13T01:35:02.000Z","dependencies_parsed_at":"2023-07-29T14:35:06.737Z","dependency_job_id":"2d819721-6a3d-4354-b72d-fea26fabeaad","html_url":"https://github.com/robwschlegel/heatwave3","commit_stats":{"total_commits":44,"total_committers":4,"mean_commits":11.0,"dds":"0.20454545454545459","last_synced_commit":"ce16c4c183074a658675b78d80b3024eb080e07b"},"previous_names":["robwschlegel/heatwave3"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robwschlegel/heatwave3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robwschlegel%2Fheatwave3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robwschlegel%2Fheatwave3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robwschlegel%2Fheatwave3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robwschlegel%2Fheatwave3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robwschlegel","download_url":"https://codeload.github.com/robwschlegel/heatwave3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robwschlegel%2Fheatwave3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33026124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"robwschlegel","name":"Robert William Schlegel","uuid":"7559399","kind":"user","description":"Data scientist for FACE-IT. What are the key drivers of change in Arctic fjord systems, and what is humanities role?","email":"","website":"https://theoceancode.netlify.com/","location":"Villefranche, France","twitter":"robwschlegel","company":"Institut de la mer de Villefranche","icon_url":"https://avatars.githubusercontent.com/u/7559399?u=95859736f0af87fb84c542a191062b56a6e977fa\u0026v=4","repositories_count":31,"last_synced_at":"2024-06-11T16:00:21.026Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/robwschlegel","funding_links":[],"total_stars":67,"followers":64,"following":21,"created_at":"2022-11-12T12:20:45.182Z","updated_at":"2024-06-11T16:00:22.978Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robwschlegel","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robwschlegel/repositories"},"packages":[],"commits":{"id":1351797,"full_name":"robwschlegel/heatwave3","default_branch":"main","total_commits":44,"total_committers":4,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":11.0,"dds":0.20454545454545459,"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2026-05-10T11:03:04.605Z","last_synced_commit":"ce16c4c183074a658675b78d80b3024eb080e07b","created_at":"2023-09-12T11:04:34.930Z","updated_at":"2026-05-10T11:03:02.625Z","committers":[{"name":"Robert William Schlegel","email":"robwschlegel@gmail.com","login":"robwschlegel","count":35},{"name":"GuiSPinto","email":"kzagrande@gmail.com","login":"GuiSPinto","count":6},{"name":"Robert","email":"robert.schlegel@imev-mer.fr","login":null,"count":2},{"name":"Lily Genevier","email":"69518865+lilygen","login":"lilygen","count":1}],"past_year_committers":[],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/robwschlegel%2Fheatwave3/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-05-12T00:00:09.062Z","repositories_count":6233304,"commits_count":894841676,"contributors_count":34898849,"owners_count":1151822,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"robwschlegel/heatwave3","html_url":"https://github.com/robwschlegel/heatwave3","last_synced_at":"2026-03-15T08:47:51.937Z","status":"error","issues_count":2,"pull_requests_count":0,"avg_time_to_close_issue":6947428.0,"avg_time_to_close_pull_request":null,"issues_closed_count":2,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":2,"avg_comments_per_issue":9.0,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-09-12T11:04:45.561Z","updated_at":"2026-03-15T08:47:51.937Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/robwschlegel%2Fheatwave3","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/robwschlegel%2Fheatwave3/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":2},"pull_request_author_associations_count":{},"issue_authors":{"geografif":1,"aonojeghuo":1},"pull_request_authors":{},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-05-12T00:00:09.018Z","repositories_count":14586219,"issues_count":34345838,"pull_requests_count":112445996,"authors_count":11260016,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{"WatchEvent":2},"last_year":{}},"keywords":[],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/R-CMD-check.yaml","sha":null,"kind":"manifest","created_at":"2023-07-29T14:35:06.060Z","updated_at":"2023-07-29T14:35:06.060Z","repository_link":"https://github.com/robwschlegel/heatwave3/blob/main/.github/workflows/R-CMD-check.yaml","dependencies":[{"id":12201351541,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":12201351542,"package_name":"r-lib/actions/setup-pandoc","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":12201351543,"package_name":"r-lib/actions/setup-r","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":12201351544,"package_name":"r-lib/actions/setup-r-dependencies","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":12201351545,"package_name":"r-lib/actions/check-r-package","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2023-07-29T14:35:06.321Z","updated_at":"2023-07-29T14:35:06.321Z","repository_link":"https://github.com/robwschlegel/heatwave3/blob/main/DESCRIPTION","dependencies":[{"id":12201351572,"package_name":"R","ecosystem":"cran","requirements":"\u003e= 2.10","direct":true,"kind":"depends","optional":false},{"id":12201351573,"package_name":"heatwaveR","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":12201351574,"package_name":"terra","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":12201351575,"package_name":"testthat","ecosystem":"cran","requirements":"\u003e= 3.0.0","direct":true,"kind":"suggests","optional":false}]}],"score":3.58351893845611,"created_at":"2023-09-12T07:50:01.697Z","updated_at":"2026-05-14T13:08:17.500Z","avatar_url":"https://github.com/robwschlegel.png","language":"R","category":"Hydrosphere","sub_category":"Ocean Carbon and Temperature","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"\n# heatwave3 \u003cimg src=\"logo.png\" width=200 align=\"right\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/robwschlegel/heatwave3/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/robwschlegel/heatwave3/actions/workflows/R-CMD-check.yaml)\n[![Codecov test coverage](https://codecov.io/gh/robwschlegel/heatwave3/branch/main/graph/badge.svg)](https://app.codecov.io/gh/robwschlegel/heatwave3?branch=main)\n\u003c!-- badges: end --\u003e\n\nWelcome to __`heatwave3`__. The goal of this package is to make life easier when working with the Hobday et al. (2016, 2018) marine heatwave (MHW) definition on large datasets. Traditionally we have had to detect MHWs on one time series at a time. For large gridded datasets this can be technically difficult and very time consuming. Now, thanks to developments in the __`terra`__ package, it is possible to apply any numbers of functions directly to gridded data (e.g. NetCDF files). __`heatwave3`__ therefore serves as an extension to the [__`heatwaveR`__](https://robwschlegel.github.io/heatwaveR/index.html) package and helps the user to easily and quickly detect MHWs within their gridded datasets. The results can be returned as either a stacked raster or data.frame. This package can also save the results directly as a NetCDF or CSV file.\n\nThe package is still in its infancy and is being actively developed. Any and all feedback is very welcome!\n\n## Installation\n\nYou can install the development version of __`heatwave3`__ from this [GitHub](https://github.com/robwschlegel/heatwave3) repository with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"robwschlegel/heatwave3\")\n```\n\n## Example\n\nThe use of __`heatwave3`__ has been designed to be as easy as possible. There is a lot happening behind the scenes that allows this package to determine the structure of the users data without needing to provide any additional arguments. Please see the following example:\n\n``` r\nlibrary(heatwave3)\n\n# Run directly on a file without needing to load it first\nmhw_cube \u003c- detect3(file_in = system.file(\"extdata/oisst_short.nc\", package = \"heatwave3\"),\n                     return_type = \"df\", clim_period = c(\"1982-01-01\", \"2011-12-31\"))\n               \n# Show the first few rows\nhead(mhw_cube)\n```\n\nOf course, there are possibly more ways to organise a data file than there are stars in the sky. If this function doesn't work on your dataset, please contact us! We are actively looking for ways to improve the usability of __`heatwave3`__\n\n## Code of Conduct\n\nPlease note that the heatwave3 project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n\n","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://ost.ecosyste.ms/api/v1/projects/41210","html_url":"https://ost.ecosyste.ms/projects/41210"}