Skip to content

(RSLC) Inconsistent Metadata values #317

Description

@nemo794

Overview

RSLC is inconsistent with GSLC, GCOV, and all five InSAR about how to populate the values for processingType and processingCenter metadata.

RSLC should be updated to match the XML specs and the other L1/L2 products.

RSLC Product checked: NISAR_L1_PR_RSLC_001_149_D_080_2005_QPDH_A_20251003T130952_20251003T131016_X05016_N_P_J_001

Dataset: /science/LSAR/identification/processingType

  • Current value in RSLC: 'PR'
  • Values: must be one of ('Nominal', 'Urgent', 'Custom')

Dataset: /science/LSAR/identification/processingCenter

  • Current value in RSLC: 'J'
  • must be one of ('JPL', 'ISRO')

Details

Dataset: /science/LSAR/identification/processingType

  • Description from XML:
    • Processing pipeline used to generate this granule. "Nominal": standard production system; "Urgent": time-sensitive processing in response to urgent response events; "Custom": user-initiated processing outside the nominal production system
  • GSLC/GCOV implementation:
    if processing_type_runconfig == 'PR':
    processing_type = np.bytes_('Nominal')
    elif processing_type_runconfig == 'UR':
    processing_type = np.bytes_('Urgent')
    else:
    if processing_type_runconfig != 'OD':
    warning_channel = journal.warning(
    'BaseWriterSingleInput.populate_identification_common()')
    warning_channel.log(
    'The processing type in the runconfig is set to'
    f' "{processing_type_runconfig}", which is not a valid value'
    ' for the output product metadata. Defaulting to "Custom"')
    processing_type = np.bytes_('Custom')

Dataset: /science/LSAR/identification/processingCenter

  • GSLC/GCOV implementation:
    if processing_center_runconfig is None:
    processing_center = '(NOT SPECIFIED)'
    elif processing_center_runconfig == 'J':
    processing_center = 'JPL'
    elif processing_center_runconfig == 'N':
    processing_center = 'NRSC'
    else:
    processing_center = processing_center_runconfig

cc: @hfattahi @bhawkins

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions