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

NetCDF4 and CWatM support #27

Merged
merged 52 commits into from
Dec 19, 2024
Merged

NetCDF4 and CWatM support #27

merged 52 commits into from
Dec 19, 2024

Conversation

moritzshore
Copy link
Owner

@moritzshore moritzshore commented Dec 19, 2024

Implements proper NetCDF support for MET Nordic downloads and includes the capability to convert them to CWatM compatible files.

Also:

  • reduced import dependencies, moved most non-critical to "Suggests"
  • removed ncdf and continue parameter specific code from get_metno_reanalysis3()
  • moved SWAT+ specific functions to own .R file
  • moved get_metno_reanalysis3() support functions to bottom of .R file
  • updated documentation
  • updated vignette for MET Nordic usage.

closes #21

closes #24

this function downloads and then corrects the projection data for the file
add prefixing
switching over to the new method of writing ncdf4 files
This function will convert hourly to daily for the new ncdf4 files
next steps: reproject then work on full timeframe
Switch from mapview to ggplot
added returning filenames because it is useful
small adjustments
removing the solar radiation stuf
use the more stable try function
switch back to mapview
change function name
bump version and include terra
- remove ncdf4 map download code (`ncdf` and `continue` code)
- move SWAT+ code to `swatplus_metnordic.R`
- move supporting functions to the bottom of the script
- adding fancy printing
code imported from other file
added comment
Updated vignette to include most of the new features from `0.6.0`
Reduced the amount of imports. These packages are now in "Suggests"
Removed ugly printouts
small changes to vignette to get it past rmdcheck
@moritzshore moritzshore merged commit c758f2d into main Dec 19, 2024
4 of 5 checks passed
@moritzshore moritzshore deleted the ncdf-proj-fix branch December 19, 2024 21:42
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.

generalize cwatm_hourly_to_daily_ncdf4() MetNo to cwatm
1 participant