Closed joatop closed 1 year ago
I'm a little confused. Where is the DRAFT_ndvi_wetland.rmd file which was merged to main earlier. #53 @DrMattG
It take a while to render. I rendered the draft_natopen.rmd and put it here for reviewing: P:/41201785_okologisk_tilstand_2022_2023/temp/DRAFT_NDVI_natopen.html
@anders-kolstad I've gone through the comments and am done with the revision.
@joatop , before i merge into main, can you explain the purpose of the files under /R/NDVI/...
. Are they superflous? For example, 1_data_handling.R
writes multiple files to cache, which are read again in the actual chapter file. But the (same?) code for creating the cached data is also in the main chapter file, so I simply added the saveRDS()
code in that file. And now there are two files writing the same cache file!
If the files under /R/NDVI/...
are needed, please reference them (hypoerlink to them) in the main chapter file. Otherwise, delete them to make sure there is no duplicate code. Sorry if I messed up here.
Tagging @DrMattG also.
These files were my 'working files' in the beginning. I.e. I worked in standard R-files to start with and then stitched together the markdown files with code from these. And yes, these code-files create some cached files that then are loaded in the markdown. But if you included the saveRDS bits in the markdowns, then the markdowns should work on their own now, so I guess the working files could be removed from the repo if they are not wanted there anymore. The same applies to the FPI part...but I guess there the saveRDS bits are not included in the markdowns yet. I wanted to do a revision of those anyways and can include that. After that the FPI working files can be removed as well.
Ok, then I will remove those working files from the R/NDVI/ folder.
I renamed them instead as NDVI-old-working-files-DONT-USE
This pull request contains the ndvi-draft bookdown files for both wetland, seminat and natopen ecosystems. Knitting will probably take some time both the NiN and the NDVI (Sentinel, Modis & Landsat) files are quite large. I already upload the NiN- and NDVI data as rds-files from P to speed things up a bit.