-
Notifications
You must be signed in to change notification settings - Fork 2
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
issue #307, replace RandomFields #314
Conversation
updated raster package to 3.6-20 updated Rccp package to 1.0.10 added terra 1.7-29 package
uses fields instead of RandomFields https://github.com/prioritizr/prioritizr/blob/HEAD/R/simulate.R
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## master #314 +/- ##
==========================================
+ Coverage 71.52% 71.55% +0.03%
==========================================
Files 76 76
Lines 6661 6669 +8
==========================================
+ Hits 4764 4772 +8
Misses 1897 1897
☔ View full report in Codecov by Sentry. |
Checks@DanWismer my check passed with 1 WARNING about the raster package being built under a different version of R. I also got a few a NOTES:
I'm not sure if we need to address that last one in this branch? terraThe terra update for downloading rasters appears to work. But the behavior when you select multiple rasters to download is odd. It only ever downloads a single tif called data.tif, and if you have multiple rasters selected it adds them as different bands in data.tif. Is this the standard behavior? It does the same thing with the current published version of the app. I was expecting to get a tif for each layer I selected in the download widget. |
Thanks @edwardsmarc ! We can address the notes on a different PR. These notes have been the same for sometime now. For the data download, I believe this is the same behavior as before (I will check And each download has the same name, |
Just a heads up, the warning |
Thanks Jeff! I was able to work in your prioritizr code for simulating data. |
Ah - awesome! |
Yeah, IIRC using |
Thanks for explanation @DanWismer. This makes sense, and I'm getting the same result: the terra version keeps the layer names but the raster version does not. |
No description provided.