This PR changes the way the Fosberg Fire Index is generated. Removes 2 where statements that tried to reclass values < 0 and > 100 to 0 and 100. Unfortunately, the xr.where statements reclassified data outside of the spatially clipped region. PR uses np.clip to clip values outside of [0-100] to the boundary values.
This PR changes the way the Fosberg Fire Index is generated. Removes 2 where statements that tried to reclass values < 0 and > 100 to 0 and 100. Unfortunately, the
xr.where
statements reclassified data outside of the spatially clipped region. PR usesnp.clip
to clip values outside of [0-100] to the boundary values.