Skip to content

Unexpected diffs in RH among patches at a single site #1469

@samsrabin

Description

@samsrabin

Describe the issue

As part of my forest edge flammability work, I discovered diffs when using each patch's climate forcings instead of always taking the values from the oldest vegetated patch (index iofp) here in UpdateFireWeather():

fates/fire/SFMainMod.F90

Lines 119 to 121 in 27a5b40

precip = bc_in%precip24_pa(iofp)*sec_per_day
rh = bc_in%relhumid24_pa(iofp)
wind = bc_in%wind24_pa(iofp)

All three showed non-negligible diffs, but bc_in%precip24_pa and bc_in%wind24_pa only showed diffs in a few diagnostic variables related to fire, whereas bc_in%relhumid24_pa showed differences in variables like FATES_VEGC and many more.

This led me to check whether relative humidity from bc_in%relhumid24_pa varies among patches at a single site in canonical FATES (modified to add log output). It seems like the answer is yes.

I can't figure out why—it seems like neither that variable nor any of the patch-level variables it's derived from are modified within FATES or CTSM.

Relevant log output

Max RH diff between patches at a site:    99.9999999999999

FATES tag

sci.1.87.0_api.41.0.0-1-g4878104a

Host land model tag

ctsm5.3.075-1-g670aa3337

Machine

derecho

Additional context

Tested by examining output from this check in my rh-varies-by-patch branch using the test SMS_Lm6.f45_f45_mg37.I2000Clm50FatesCruRsGs.derecho_intel.clm-Fates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    ❕Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions