Opened 19 years ago

Closed 16 years ago

#44 closed enhancement (fixed)

Double precision option for ropp_io_write

Reported by: Carlo Buontempo Owned by: Dave Offiler
Priority: normal Milestone: 1.2
Component: ropp_io Version: 0.8
Keywords: Cc: dave.offiler@…, carlo.buontempo@…, axel.vonengeln@…

Description

In the ropp_io_write the option " output_precision = 'double'" is not working properly. The problem arose when I tried to add the gradient of the cost function to the io output. To solve it(temporary) vlist%data is converted to real in the ropp_io_write_ncdf_put.f90 (Line 504).

It is necessary to add an automatic conversion (double->real) to prevent the system to misbehave in case of input which is not real (too small). The ROPP_io_write default should be single precision but the user should have the option to go for double precision.

Change history (7)

comment:1 by marq, 19 years ago

Cc: dave.offiler@… carlo.buontempo@… axel.vonengeln@… added
Milestone: 1.0
Owner: changed from to marq
Version: 0.8

comment:2 by marq, 19 years ago

Status: newassigned
Version: 0.8

comment:3 by marq, 19 years ago

Component: ROPP (all)I/O
Type: defectenhancement

comment:4 by Dave Offiler, 18 years ago

Version: 0.8

comment:5 by Huw Lewis, 17 years ago

Owner: changed from marq to Dave Offiler

comment:6 by Dave Offiler, 17 years ago

Milestone: 1.11.2

comment:7 by Huw Lewis, 16 years ago

Resolution: fixed
Status: assignedclosed

ropp_io write output precision option tested at v1.2 to write data (including vlist variables) and working ok. No evidence of 'manual' conversion of vlist%data in ropp_io code (or repository) at line indicated in initial ticket description. Method for assigning precision type is apparently similar for vlist as all other defined variables. Must therefore assume initial problem is fixed. Ticket closed.

Note: See TracTickets for help on using tickets.