Closed malonzo47 closed 4 years ago
Changed. Not sure how to check. Please check using the latest source from the main repository.
I get this error in Step 4 when I actually try to plot distdate. Note: I did not change the default "middle" value)
Sorry. I pushed again. Please check again.
Seems to work now. Thanks.
The code allows for users to specify whether they would like to know the disturbance date calculated at the "beginning", "middle", or "end" of a disturbance segment. Currently, the "middle" option is hard-coded into pynita_gui_main around line 1035:
nita.MI_distDate(**option='middle'**, plot=self.plot3.isChecked(), save=self.save3.isChecked(), fn='distdate.tif', title = title, label=label)
Users should be able to set this option from the ini file, configured in Step 1 c. Can you add an item to the end of the Step 1 c list for: "dist_date position:"? Then dist_date_pos would be a parameter in the ini file with possible values of beginning, middle, and end.