issues
search
usa-npn
/
cales-thermal-calendars
Estimating trends in phenology in the northeastern US
https://usa-npn.github.io/cales-thermal-calendars/spatial-trends-report.html
MIT License
0
stars
0
forks
source link
Handle pixels that never reach threshold GDD
#34
Closed
Aariq
closed
3 months ago
Aariq
commented
3 months ago
This addresses #31
Use
Inf
instead of
NA
to represent a pixel that never reaches a threshold GDD
In plots of DOY and normals mean DOY, lump those
Inf
s in with the max DOY and plot as "≥{max DOY}" in the colorbar
Even when there aren't
Inf
s, always plot the max DOY (for consistency).
When calculating pixel-wise linear regressions, only use pixels if at least half the years have non-
Inf
values and drop any
Inf
s before fitting.
This addresses #31
Inf
instead ofNA
to represent a pixel that never reaches a threshold GDDInf
s in with the max DOY and plot as "≥{max DOY}" in the colorbarInf
s, always plot the max DOY (for consistency).Inf
values and drop anyInf
s before fitting.