vincyanebadouard / logginglab Goto Github PK
View Code? Open in Web Editor NEWForest logging simulator
Home Page: https://vincyanebadouard.github.io/LoggingLab/
Forest logging simulator
Home Page: https://vincyanebadouard.github.io/LoggingLab/
To increase user-friendliness, I'm implementing new developments on personal branches of my fork (uf_basic, uf_intermediate, and uf-advance). The developments are:
example : "Paracou6_2016" you click on it and you arrive on the documentation of this data
inventorycheckformat
addtreedim
Vincyane question
If I have scenarios to simulate, and the parameters of these scenarios are the arguments of my function,
ex : scenario 1 : A = 1, B = 4, C = 10
manual: we choose the values of A, B and C
fun(scenario, A, B, C)
what is the best strategy?
create a table from which the function will take the values of the arguments (overwriting those that the user could have put)
lines of code at the beginning of each function to assign values to the arguments according to the chosen scenario
put in the code the scenarios, and consider the arguments only in the "manual" mode
@sylvainschmitt
Vincyane question
I think we need to discuss the generecity of Maria if we want to publish it. I can't do it in code review because it is global to the package. So for the moment I'll stop making remarks about it. And I think it is not an issue for the version 1 that you are planning for the ONF / contract end. But we should discuss it with Geraldine when she come back from holidays.
@thomasgaquiere , what is the purpose off the following lines:
preMainTrails <- DTMExtended > -Inf
preMainTrails<- rasterToPolygons(preMainTrails, dissolve=T)
Using a dummy raster of 20m height, this provoke a bug in my last install because of multiple polygons:
dem <- raster::raster(mask, nrow = 200, ncol = 200)
values(dem) <- rep(20, length(values(dem)))
maintrailextract(dem)
# Erreur dans st_cast.sfc(st_geometry(x), to, group_or_split = do_split) :
# use smaller steps for st_cast; first cast to MULTILINESTRING or POLYGON?
This is because the multiple polygons can't be casted into one linestring here:
MainTrails <- preMainTrails %>% st_as_sf() %>% st_cast(to = 'LINESTRING', warn= FALSE)
Vincyane question
seems to be a problem with sample (all trees are either success or failure)
The test test-getmask.R
fails.
I changed it in the em development branch but this must be double checked: either it is OK so correct the documentation of the function or correct the error.
What command can I give to a user who would like to load my package now and use it, if my repository is private? @sylvainschmitt
I created a broken dataset to test my "datacheckformat" function (check & control my inventory dataset.
When I put my script creating this "broken dataset", in data-raw folder (with use_data_raw()),
usethis says me to add this data to the package with usethis::use_data().
For my part, I put this data in inst/extdata because I don't want to give acces to this data at users
What I had to do ? put this data in data folder or in inst/extdata? @sylvainschmitt
We need to define lowlands, to define the UPs.
Several possibilities :
Computation time (ONF, Guyafor) and necessary precision (SRTM/LIDAR) to be taken into account
ONF's version
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.