Opened 14 years ago

Closed 13 years ago

#222 closed defect (fixed)

ropp_pp_spectra_tool output filename

Reported by: kmk Owned by: Ian Culverwell
Priority: minor Milestone: 5.0
Component: ropp_pp Version: 4.1
Keywords: Cc: kmk

Description

ropp_pp_spectra_tool takes a -o <outfile> argument to specify the output filename. However this is not passed on to lower-level routines and both ropp_pp_spectra and ropp_pp_radiooptic_analysis always write to the default output filename, no matter the output filename specified in ropp_pp_spectra_tool.

Change history (7)

comment:1 by kmk, 14 years ago

Component: ROPP (all)Preproc

comment:2 by kmk, 14 years ago

Cc: kmk added

comment:3 by Ian Culverwell, 14 years ago

Milestone: 5.0

I've adapted ropp_pp_spectra_tool, ropp_pp_spectra and ropp_pp_radiooptic_analysis along the lines that Kjarten suggests.

Previously, ropp_pp_spectra_tool <infile.nc> -o <outfile> generated

ROanalysis_dt_L1.dat
ROanalysis_dt_L2.dat
ROanalysis_ep_L1.dat
ROanalysis_ep_L2.dat

whatever the value of outfile.

Now, ropp_pp_spectra_tool <infile.nc> -o <outfile> generates

outfile_dt_L1.dat
outfile_dt_L2.dat
outfile_ep_L1.dat
outfile_ep_L2.dat

Not setting outfile, or setting it equal to the internal default of "ropp_pp_spectra", delivers the originally named output files ROanalysis_dt_L1.dat etc. This is to provide backwards compatibility.

Checked with Kjarten and he is happy with this.

comment:4 by Ian Culverwell, 14 years ago

Resolution: fixed
Status: newclosed

Close ticket after passing changes through test folder successfully.

comment:5 by Ian Culverwell, 13 years ago

Resolution: fixed
Status: closedreopened

comment:6 by Ian Culverwell, 13 years ago

Owner: set to Ian Culverwell
Status: reopenedassigned

comment:7 by Ian Culverwell, 13 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.