DeepForest icon indicating copy to clipboard operation
DeepForest copied to clipboard

Fix 'Working with deepforest data' docs page

Open ethanwhite opened this issue 9 months ago • 3 comments

This page is rendered via a notebook (I think) and currently has a number of errors due (at least) to a hard coded path:

Image

ethanwhite avatar Apr 01 '25 17:04 ethanwhite

This file is not present in the repository. So, I tried to replace this with another .tif file that are present in src/deepforest/data, but using other files will make the example kind of useless. Because predictions are running directly on them, instead of showing the errors for which the example is created. (That example assumes that the raster image has 4 bands instead of 3 bands but in all other .tif files there are 3 bands so they can't be used there)

We can remove the hard coded paths and replace them with either other .tif files or use <test_file> kind of syntax (But this will not show the outputs of the cells which is not good from documentation perspective.

How should we proceed here ?

Image I used the .tif files present in this directory.

naxatra2 avatar Apr 02 '25 20:04 naxatra2

Hey @ethanwhite, @bw4sz, just tagging you in case you missed naxatra’s note. That Plot13Ortho.tif file isn’t in the repo - would you be able to provide it, or should we go ahead with one of the existing .tif files in src/deepforest/data?

Abhishek-Dimri avatar Apr 18 '25 03:04 Abhishek-Dimri

Thanks for the ping @Abhishek-Dimri. I tracked down the Plot13Ortho.tif, but it's almost 1 GB and I don't know whether we currently have permission to share it or not. I think the best approach here is to probably use something smaller from https://github.com/weecology/MillionTrees/. Let's wait until @bw4sz has a chance to chime in and then we can figure out how to proceed

ethanwhite avatar Apr 26 '25 01:04 ethanwhite