Skip to content

wetdays djf error on the maxium number of days

When using a modified version of the wetdays for djf, the maximum number of days that comes out in the output file is 30, I suspect it is only summing in one month, and not on the entire djf season.

See below the modified version I used:

wetdays_djf:
    reference: CLIPC
    period:
      allowed:
        annual:
        seasonal: 'djf'
        monthly:
      default: seasonal
    output:
      var_name: "wetdays"
      standard_name: number_of_days_with_lwe_thickness_of_precipitation_amount_above_threshold
      proposed_standard_name: number_of_occurrences_with_lwe_thickness_of_precipitation_amount_at_or_above_threshold
      long_name: "Number of Wet Days (precip >= 1 mm)"
      units: "days"
      cell_methods:
        - time: sum within days
        - time: sum over days
    input:
      data: pr
    index_function:
      name: count_occurrences
      parameters:
        threshold:
          kind: quantity
          standard_name: lwe_precipitation_rate
          long_name: "Wet day threshold"
          data: 1
          units: "mm day-1"
        condition:
          kind: operator
          operator: ">"
    ET:
      short_name:
      long_name:
      definition:
      comment:
Edited by Klaus Zimmermann