Opened 6 years ago

Closed 3 years ago

#604 closed task (fixed)

Avoid undefined ts for very gappy open loop data [1 h]

Reported by: Ian Culverwell Owned by: Ian Culverwell
Priority: normal Milestone: ROPP9.1 carry over
Component: ropp_pp Version: 11.0
Keywords: Cc:

Description

Change history (1)

comment:1 by Ian Culverwell, 3 years ago

Resolution: fixed
Status: newclosed
Version: 9.011.0

A further complication to the already-quite-complicated-enough-thank-you #601.

Basically this amounts to setting dn to 1 (corresponding to n_rs = 2) if the GRAS preprocessing code infers that it is trying to work with OL rather than RS data. I suppose this avoids ts from being undefined for very gappy OL data because it is now comparing adjacent points in the OL tseries, not those separated by dn points. Perhaps this makes it less likely that the MASK condition in

MINVAL(ts_array, MASK=(ABS(ts_array - 0.02_wp) < 0.001_wp)) 

is never met - see comment in #600.

Checks out OK - the activating test on ts is not met in our test dataset.

Commit change at r6843.

No documentation needs updating.

Closing ticket.

Note: See TracTickets for help on using tickets.