ropp_pp_spectra_tool output filename
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)
| Component: |
ROPP (all) → Preproc
|
| Resolution: |
→ fixed
|
| Status: |
new → closed
|
| Resolution: |
fixed
|
| Status: |
closed → reopened
|
| Owner: |
set to Ian Culverwell
|
| Status: |
reopened → assigned
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
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.