Opened 18 years ago
Closed 17 years ago
#131 closed enhancement (fixed)
Reorganise ropp_io_write routines
| Reported by: | Huw Lewis | Owned by: | Huw Lewis |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | ROPP (all) | Version: | 1.1 |
| Keywords: | Cc: |
Description
With lack of support for text files, need to consolidate/tidy ropp_io_write code for netCDF. This should include use of additional parameters (e.g. optional output_precision argument) in call to ropp_io_write (and perhaps as command line option for ropp2ropp tool.
Change history (4)
comment:1 by , 17 years ago
| Milestone: | 3.0 |
|---|
comment:2 by , 17 years ago
| Milestone: | → 3.0 |
|---|
comment:3 by , 17 years ago
| Priority: | minor → normal |
|---|
comment:4 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Changes [2014], [2015], [2016] in development branch address this ticket.
1) New text2ropp tool Maintains ability to read/write between ROPP format text and ROPP format netcdf. Usage:
text2ropp INFILE -o NCDF_OUT text2ropp INFILE -t TEXT_OUT
The tool may not be included in the distribution, but is useful for internal testing etc.
2) text2ropp test New test t_text2ropp in tests/ directory (not one of default tests run with 'make test', so all tests should 'PASS' when running 'make test' - no longer differences due to output precision).
3) Remove text functionality from ropp2ropp
4) Remove text test from t_ropp2ropp
5) Consolidate ropp_io_read and ropp_io_write routines.
ropp_io_read now replaces functionality of ropp_io_read and ropp_io_read_ncdf
ropp_io_write now replaces functionality of ropp_io_write and ropp_io_write_ncdf
6) Added 'output_precision' as optional subroutine call argument for ropp_io_write, so users can specify if data in output files are written with 'float' (default) or 'double' precision.
Ticket closed - developments will be integrated into ROPP-3 distribution when branch is merged for release.

Milestone 3.0 deleted