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

update documentation #8

Open
3 tasks
achubaty opened this issue Apr 16, 2024 · 1 comment
Open
3 tasks

update documentation #8

achubaty opened this issue Apr 16, 2024 · 1 comment
Assignees

Comments

@achubaty
Copy link
Contributor

user documentation

  • user workflow examples/vignettes;

developer documentation

  • processing ClimateNA data and building datasets;
  • how to add new climate data for e.g. new years;
@achubaty achubaty self-assigned this Apr 16, 2024
@achubaty
Copy link
Contributor Author

achubaty commented Apr 16, 2024

additional notes from my most recent round of development:

  • terra writes .asc files using unix line-endings, so ClimateNA can't read them. they need to be read in and re-written with windows line-endings;
  • ClimateNA v7.4.1 made an important change: "Climate variables with decimals are no longer converted to integers in raster format." This will need to be addressed downstream in the canCLimateData module (and possibly elsewhere). (I am using ClimateNA v7.4.2);

Also note:

  • I'm not using the ClimateNAr package -- it's too simple a wrapper around the cmdline API, and is very fragile/error-prone. Manually invoking things to ensure inputs are checked properly (e.g., Windows paths specified correctly).
  • The ClimateNAr package cmdline wrapper function writes geotiffs not .asc files. This is good for filesizes but would require downstream changes in our workflows. I am bypassing this function and manually writing .asc files for now.
  • There is currently no public source repo for the ClimateNAr package, so I don't know how to contribute improvements.

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

No branches or pull requests

1 participant