Opened 6 years ago
Closed 2 years ago
#600 closed task (fixed)
Open loop resampling adjustments [1 h]
Reported by: | Ian Culverwell | Owned by: | Ian Culverwell |
---|---|---|---|
Priority: | normal | Milestone: | ROPP9.1 carry over |
Component: | ropp_pp | Version: | 11.0 |
Keywords: | Cc: |
Description
https://trac.romsaf.org/ropp/changeset/5427/ropp_src/branches/dev/Share/dmi_trunk_9.0/ropp_pp/build/Makefile.am https://trac.romsaf.org/ropp/changeset/5427/ropp_src/branches/dev/Share/dmi_trunk_9.0/ropp_pp/bangle/ropp_pp_bending_angle_go.f90 https://trac.romsaf.org/ropp/changeset/5427/ropp_src/branches/dev/Share/dmi_trunk_9.0/ropp_pp/preprocess/ropp_pp_cutoff.f90 https://trac.romsaf.org/ropp/changeset/5427/ropp_src/branches/dev/Share/dmi_trunk_9.0/ropp_pp/preprocess/ropp_pp_preproc.f90 https://trac.romsaf.org/ropp/changeset/5427/ropp_src/branches/dev/Share/dmi_trunk_9.0/ropp_pp/preprocess/ropp_pp_preprocess.f90 https://trac.romsaf.org/ropp/changeset/5427/ropp_src/branches/dev/Share/dmi_trunk_9.0/ropp_pp/preprocess/ropp_pp_preprocess_champ.f90 https://trac.romsaf.org/ropp/changeset/5427/ropp_src/branches/dev/Share/dmi_trunk_9.0/ropp_pp/preprocess/ropp_pp_preprocess_cosmic.f90 https://trac.romsaf.org/ropp/changeset/5427/ropp_src/branches/dev/Share/dmi_trunk_9.0/ropp_pp/preprocess/ropp_pp_preprocess_grasrs.f90 https://trac.romsaf.org/ropp/changeset/5427/ropp_src/branches/dev/Share/dmi_trunk_9.0/ropp_pp/tools/ropp_pp_spectra_tool.f90
Original changesets:
Open loop resampling adjustments: https://trac.romsaf.org/ropp/changeset/5342/ropp_src/branches/dev/Share/dmi_trunk_8.1/ropp_pp/preprocess/ropp_pp_preprocess_grasrs.f90
Change history (2)
comment:1 by , 3 years ago
Version: | 9.0 → 11.0 |
---|
comment:2 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Stig's comment: Wonder why we don't just set ts = 0.02 or ts = 0.001 based on the (ts > 0.00105) check. That would need some testing.
Happy to kick that into the long grass, and close the ticket for ROPP-11.0.
There are two aspects to this ticket. The first concerns raw sampling signals with fewer than 600 elements, and in these cases it calculates the minimum dt over a range of n_rs/2 < 300 samples, thus:
The second concerns the possibility that we are really dealing with 50 Hz (i.e. open loop) data, rather than 1000 Hz (i.e. raw sampling) data. The code believes it is working with OL data if the minimum dt is 5% larger than 0.001 sec, and then recalculates the minimum dt from the time-separations of the 50 Hz data. Note that the chosen algorithm,
could cause the code to deliver junk (e.g. 1.7E308) if the
MASK
condition is never met, i.e. if the lower freq data is never particularly close to 50 Hz. This should probably be fixed with something likeor perhaps some more involved consideration of
MINVAL(ts_array)
andMAXVAL(ts_array)
.It doesn't cause a problem in our rs-to-ropp tool test dataset because this has
Checks out OK, so commit change at r6837.
Spell out in the ROPP PP user guide that ropp_pp_grasrs2ropp can merge OL+CL data as well as RS+OL data in r6838.
Leaving ticket open as Stig should probably comment on it.