Open martin0schneider opened 11 months ago
Hi,
Currently, palmpy assigns vegetation_type 3 to all areas where a "canopy" is present.
vegarr = np.where((canopyid[:,:] != -9999) & (watarr[:,:] == -127), 3, vegarr[:,:])
As far as I understood, this should only be done for single trees, not for vegetation patches (e.g. forests, parks). I am not 100% sure about the concept of tree rows here. See https://palm.muk.uni-hannover.de/trac/wiki/doc/app/iofiles/pids/palm_csd https://palm.muk.uni-hannover.de/trac/ticket/1408
It shouldn't be that hard to fix, e.g. the user adds the required information in the "resolvedforest" and "bb" files and the above mentioned line is changed to
vegarr = np.where((resebgebid[:,:] != -9999) & (resbreiheid[:,:] != -9999) & (watarr[:,:] == -127), 3, vegarr[:,:])
What do you think?
Cheers, Martin
Hi,
Currently, palmpy assigns vegetation_type 3 to all areas where a "canopy" is present.
vegarr = np.where((canopyid[:,:] != -9999) & (watarr[:,:] == -127), 3, vegarr[:,:])
As far as I understood, this should only be done for single trees, not for vegetation patches (e.g. forests, parks). I am not 100% sure about the concept of tree rows here. See https://palm.muk.uni-hannover.de/trac/wiki/doc/app/iofiles/pids/palm_csd https://palm.muk.uni-hannover.de/trac/ticket/1408
It shouldn't be that hard to fix, e.g. the user adds the required information in the "resolvedforest" and "bb" files and the above mentioned line is changed to
vegarr = np.where((resebgebid[:,:] != -9999) & (resbreiheid[:,:] != -9999) & (watarr[:,:] == -127), 3, vegarr[:,:])
What do you think?
Cheers, Martin