Opened 6 years ago

Closed 5 years ago

#581 closed task (fixed)

Implemented option to exclude output of the level 1b bending angle [2 d]

Reported by: Ian Culverwell Owned by: Ian Culverwell
Priority: normal Milestone: ROPP9.1 carry over
Component: ropp_io Version: 9.0
Keywords: Cc:

Description

Change history (1)

comment:1 by Ian Culverwell, 5 years ago

Resolution: fixed
Status: newclosed

This has been done at r5970. (This includes changes to the eum2ropp man page.) There is no change to the default behaviour of extracting level 1b data with eum2ropp (and, reasonably, there is no option but to keep extracting it with eum2bufr and ropp2bufr). But if we run eum2ropp with the -x option on the default EUM file, the output contains no level 1b data. OK.

Note that other elements of this changeset alter

 pcd = 23 ;

 overall_qual = 0 ;

(i.e. PCD summary, offline, rising and bangle are all set, and the profile is of poor quality) to

 pcd = 6 ;

 overall_qual = 100 ;

(i.e. PCD offline and rising are set, and the profile is of good quality).

This make sense in view of the change in coding from

  data%PCD = 0

  ! Overall nominal / non-nominal
  CALL ncdf_getvar('/quality/overall_quality_ok', readbyte1)
  IF (readbyte1 == 0) data%PCD = IBSET(data%PCD, PCD_summary)

  ! BA nominal (set to same value as overall)
  IF (readbyte1 == 0) data%PCD = IBSET(data%PCD, PCD_bangle) ! set to same value as overall

  ! quality indicator, currently just set to 100% or 0%
  data%overall_qual = 100.0_wp * readbyte1
  data%units%overall_qual = '%'

to

  data%PCD = 0
  data%overall_qual = 100.0_wp
  data%units%overall_qual = '%'

  IF (getlevel1b) THEN

    ! Overall nominal / non-nominal
    tdir = '/quality/'
    CALL ncdf_getvar(TRIM(tdir)//'overall_quality_ok', readbyte1)
    IF (readbyte1 == 0) data%PCD = IBSET(data%PCD, PCD_summary)

    ! BA nominal (set to same value as overall)
    IF (readbyte1 == 0) data%PCD = IBSET(data%PCD, PCD_bangle) ! set to same value as overall

    ! quality indicator, currently just set to 100% or 0%
    data%overall_qual = 100.0_wp * readbyte1

  ENDIF

given that /quality/overall_quality_ok = 0 for this dataset.

Closing ticket.

Note: See TracTickets for help on using tickets.