Opened 3 years ago

Closed 3 years ago

#91 closed defect (fixed)

Potentialy buggy behavior of aerave_new

Reported by: emillour Owned by: gmilcareck
Priority: major Milestone:
Component: GENERIC GCM Version:
Keywords: Cc:

Description (last modified by emillour)

For the interpolation related to aerosols, identification of the appropriate index for the nearest wavelength in the table assumes that the table is organized in increasing wavelengths and will yield a wrong index if it is not the case.

It would be safer to:

  • check that input tables indeed do have wavelengths ordered (ascending or descending)
  • make the identification of the nearest wavelength index work for both ascending and descending cases

Fixed with r2625

Change History (1)

comment:1 Changed 3 years ago by emillour

Description: modified (diff)
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.