Opened 12 years ago

Closed 11 years ago

#295 closed defect (fixed)

Allow the processing of closed loop (occ*) profiles in ropp_pp

Reported by: cburrows Owned by: cburrows
Priority: normal Milestone: 6.1
Component: ropp_pp Version: 6.0
Keywords: Cc:

Description

Currently, ropp_pp assumes all GRAS profiles contain raw-sampling data. If occ* files are processed by ropp_pp_occ_tool, a segmentation fault arises in the preprocessing routine if the occultations are setting. The reason is that it assumes the time field is increasing, but for setting occultations, the time axis is reversed in the occ* files.

Kjartan has recommended by email that the processing done for the 'ME' case in ropp_pp_preprocess can be skipped in these cases. Kjartan also supported Ian's suggestion of checking for the presence/absence of the open_loop_lcf. Stig suggested having an option in the configuration file to determine the processing - details need further discussion.

Change history (2)

comment:1 by Ian Culverwell, 11 years ago

CB tests for the presence/absence of open_loop_lcf data in ropp_pp_preprocess by means of:

IF (ASSOCIATED(ro_data%vlist%VlistD1d)) THEN 
   CALL ropp_pp_preprocess_GRASRS(ro_data, config, LCF) 
   CALL ropp_pp_cutoff_amplitude(ro_data, LCF, config) 
ENDIF     

as is used ropp_pp_spectra_tool.f90, ropp_pp_preprocess_grasrs.f90 and ropp_pp_preprocess_cosmic.f90.

Included in ROPP6.1.

comment:2 by Ian Culverwell, 11 years ago

Resolution: fixed
Status: newclosed

Actually, tighten the test a little further with a check on the name too (we don't know for sure that the 1st added variable will be open_loop_lcf):

    IF (ASSOCIATED(ro_data%vlist%VlistD1d)) THEN
      IF (ro_data%vlist%VlistD1d%name == 'open_loop_lcf') THEN
        CALL ropp_pp_preprocess_GRASRS(ro_data, config, LCF)
        CALL ropp_pp_cutoff_amplitude(ro_data, LCF, config)
      ENDIF
    ENDIF

Behaving itself in test folder, so closing ticket.

Note: See TracTickets for help on using tickets.