Opened 2 years ago

Closed 21 months ago

#141 closed defect (fixed)

zrecast issues with handling of slightly negative number densities

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

Description

As zrecast interpolates number densities via its log (like density), the result is NaN when these are slightly negative, which sometimes happens.

We should add a check to correct for these small negative values, e.g. set them to some tiny positive value instead to avoid problems with the log computations.

Change History (1)

comment:1 Changed 21 months ago by abierjon

Resolution: fixed
Status: newclosed

Fixed with revision r3057

Note: See TracTickets for help on using tickets.