Opened 16 years ago
Closed 16 years ago
#292 closed defect (Fixed)
Round-off problems in netcdf_check_var
Reported by: | arango | Owned by: | arango |
---|---|---|---|
Priority: | major | Milestone: | Release ROMS/TOMS 3.2 |
Component: | Nonlinear | Version: | 3.2 |
Keywords: | Cc: |
Description
Modified netcdf_check_var to check few variables for consistency within a tolerance value. The problem is due to round-off. See the following forum posting.
For example, now I have:
CASE ('theta_b') CALL netcdf_get_fvar (ng, IDmod, ncname, var_name(i), & & FvarS) IF (exit_flag.ne.NoError) RETURN IF (ABS(theta_b(ng)-FvarS).gt.RoundOff) THEN IF (Master) WRITE (stdout,20) TRIM(var_name(i)), & & FvarS, theta_b(ng), & & TRIM(ncname) exit_flag=5 EXIT END IF
Many thanks to Mark Hadfield for reporting this problem.
Note:
See TracTickets
for help on using tickets.