Opened 6 years ago

Closed 5 years ago

#573 closed task (fixed)

Set PCD bit 2 (NRT/Offline) when reading UCAR atmPhs files [1 h]

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

Fairy nuff. Changes the output from

  data:
    pcd = 4 ;

to

  data:
    pcd = 6 ;

when atmPhs_C004.2011.001.22.12.G28_0001.0001_nc is passed through ucar2ropp. Since

  INTEGER, PARAMETER :: PCD_offline      =  1  ! NRT / offline product

in ropp_io/ropp/ropp_io_types.f90, the increase in PCD by 21 = 2 is what is expected. No other changes.

Change committed at r6238. (Also take the opportunity to USE PCD_summary, PCD_phase and PCD_rising as well as PCD_offline in subroutine ropp_io_read_ucardata_atmPhs in ropp_io/ropp/ropp_io_read_ncdf_get.f90. For some reason these parameters were absent. I don't know if this caused any problems before because (for example) they were assumed to be zero, or whether they were inherited from somewhere earlier in the code. Anyway, they should definitely be there.

Closing ticket.

Note: See TracTickets for help on using tickets.