claudiatebaldi / hectorcal

3 stars 3 forks source link

Inf debug #30

Closed kdorheim closed 4 years ago

kdorheim commented 4 years ago

The single ESM function was originally set up to only replace NA values with a large arbitrary number but when the -log mesa is used to calibrate to the CMIP range sometimes we can get Inf values which causes problems for optim. This change replaces the Inf values with the same arbitrary number number.