Opened 18 years ago

Closed 17 years ago

Last modified 16 years ago

#94 closed defect (fixed)

FM shows NaN values in Bending Angle

Reported by: frae Owned by: marq
Priority: normal Milestone: 1.1
Component: ropp_fm Version: 0.9
Keywords: Cc: dave.offiler@…, axel.vonengeln@…

Description

One of the ECMWF input files to FM leads to a NaN value in the bending angle results.

I'll generate the ticket and then attach the netcdf input file to ecmwf2ro_1d.

Attachments (2)

NaNprofile.gif (5.8 KB ) - added by frae 18 years ago.
ECMWF Profile leading to NaN in Bending Angle
NaNprofile.2.gif (5.8 KB ) - added by frae 18 years ago.
Profile leading to NaN in BA

Download all attachments as: .zip

Change history (8)

comment:1 by frae, 18 years ago

File is too large for attachement, TRAC complains. Find it at:

ftp://sat.physik.uni-bremen.de/incoming/axel/nanprofile.nc

comment:2 by marq, 18 years ago

Cc: axel.vonengeln@… added
Owner: changed from frcm to marq

Could you please chack if this is still a problem, or if it has been fixed in the meantime?

Thanks!

by frae, 18 years ago

Attachment: NaNprofile.gif added

ECMWF Profile leading to NaN in Bending Angle

by frae, 18 years ago

Attachment: NaNprofile.2.gif added

Profile leading to NaN in BA

comment:3 by frae, 18 years ago

Okay, just checked the relevant profile again and it still leads to NaN in the bending angle. It is a particular nasty profile as you can see from the plot attached (actually 2 identical plots because svn.marquardt.sc showed trac errors when first uploading the file, so now you got 2 of them...).

comment:4 by Huw Lewis, 17 years ago

Resolution: fixed
Status: newclosed

On testing ROPP v1.1 using NAG complier, we came across a problem with Abel transform attempting to compute square root (x(i+1) - a) where a > x(i+1). This is thought to be because the testing for the lowest usable background level was not exiting once the first instance of increasing x was found (working from the top of the profile). Tests show that other compilers would produce bending angle = NAN in this case, consistent with the initial error.

https://trac.grassaf.org/ropp/browser/ropp_src/trunk/ropp_fm/bangle_1d/ropp_fm_abel.f90 has now been fixed to identify the lowest usable background level as the first instance (countine from model top) where x is not monotonically increasing with height.

comment:5 by (none), 16 years ago

Milestone: 1.1

Milestone 1.1 deleted

comment:6 by Huw Lewis, 16 years ago

Milestone: 1.1
Note: See TracTickets for help on using tickets.