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

Upgrade to SimpleSDMLayers.jl v0.3.0 #18

Merged
merged 58 commits into from
Oct 22, 2020
Merged

Upgrade to SimpleSDMLayers.jl v0.3.0 #18

merged 58 commits into from
Oct 22, 2020

Conversation

gabrieldansereau
Copy link
Owner

@gabrieldansereau gabrieldansereau commented Jul 24, 2020

Upgrading to SimpleSDMLayers.jl v0.3.0. Requires a lot of rewriting to move from NaN to nothing for missing values. Also a lot of functionalities were added to the package directly, so many overloads are not needed anymore.

  • Sliding window & mask?
  • Switch to EarthEnv land cover data instead of Copernicus?

Scripts checklist

  • 00b_preparation_ebd-preparation.jl
  • 00c_preparation_landcover.jl
    • Fix coordinates different between worldclim() and landcover()
  • 01_distributions.jl
    • Workaround undef error caused by groupIdentifier column
    • Fix the undef error!!
    • Fix parallelization of presence_absence()
    • Workaround map not iterating correctly on GroupedDataFrames
    • Fix calculate_Y() to allow nothing
    • Figure out why observed sites are different from before
    • Figure out why new ebd_warblers_prep is bigger than before
    • Update species glossary (or include() somewhere else in workflow)
  • 02_training_*.R :
    • Re-run with new WorldClim 2.1 data
    • Fix velox loading error
    • Update Random Forests scripts? Later 😉
    • Fix model loading workflow
  • 03_predictions_*.jl
    • Update for nothing instead of NaN
    • Re-run with new WorldClim 2.1 data
    • Investigate if single species models are similar to previous ones
  • 04_analysis.jl
    • Update calculate_richness() and calculate_lcbd() to allow type Nothing
    • Update figures & results with WorldClim 2.1 data
    • Figure out if colorbar scale in LCBD figures should be 0 to 1 or min to 1
    • Downscale figures to 200 dpi?
  • 05_subareas.jl
  • 06_moving-windows.jl
  • Update scripts in the others/ folder
  • Delete backup files with NaNs

gabrieldansereau and others added 30 commits July 22, 2020 17:28
@gabrieldansereau
Copy link
Owner Author

gabrieldansereau commented Oct 21, 2020

BART models & predictions updated with WorldClim 2.1 data! 🎉

Updating 02c_training_bart.R ✔️

@gabrieldansereau
Copy link
Owner Author

BART prediction layers updated with WorldClim 2.1 data & nothing values! 🎉

Updating 03c_predictions_bart.jl ✔️

@gabrieldansereau
Copy link
Owner Author

Analysis figures updated with WorldClim 2.1 data & nothing values! 🎉 🚀

Updating 04_analysis.jl ✔️

@gabrieldansereau gabrieldansereau changed the title Update to SimpleSDMLayers.jl v0.3.0 Upgrade to SimpleSDMLayers.jl v0.3.0 Oct 22, 2020
@gabrieldansereau
Copy link
Owner Author

Updating 05_subareas.jl ✔️

Updating 06_moving-windows.jl ✔️

@gabrieldansereau
Copy link
Owner Author

Updating important files in the others/ folder ✔️ (but not necessarily tested)

@gabrieldansereau
Copy link
Owner Author

gabrieldansereau commented Oct 22, 2020

Upgrade completed! 🎉 ✨
Everything now works with SimpleSDMLayers v0.3.0! 🎉

I put the remaining checklist items in #19

@gabrieldansereau gabrieldansereau merged commit f0386fd into dev Oct 22, 2020
@gabrieldansereau gabrieldansereau deleted the feat/ssl-update branch October 22, 2020 17:17
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.

None yet

1 participant