diff --git a/nuopc/fire_behavior_nuopc.F90 b/nuopc/fire_behavior_nuopc.F90 index 9cef71f..cc60bf7 100644 --- a/nuopc/fire_behavior_nuopc.F90 +++ b/nuopc/fire_behavior_nuopc.F90 @@ -159,9 +159,9 @@ subroutine Advertise(model, rc) file=__FILE__)) & return ! bail out - ! importable field: inst_prec_rate + ! importable field: mean_prec_rate call NUOPC_Advertise(importState, & - StandardName="inst_prec_rate", rc=rc) + StandardName="mean_prec_rate", rc=rc) if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, & line=__LINE__, & file=__FILE__)) & @@ -410,10 +410,10 @@ subroutine Realize(model, rc) file=__FILE__)) & return ! bail out - if (NUOPC_IsConnected(importState, fieldName="inst_prec_rate")) then + if (NUOPC_IsConnected(importState, fieldName="mean_prec_rate")) then imp_rainrte = .TRUE. - ! importable field on Grid: inst_prec_rate - field = ESMF_FieldCreate(name="inst_prec_rate", grid=fire_grid, & + ! importable field on Grid: mean_prec_rate + field = ESMF_FieldCreate(name="mean_prec_rate", grid=fire_grid, & typekind=ESMF_TYPEKIND_R8, rc=rc) if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, & line=__LINE__, & @@ -432,7 +432,7 @@ subroutine Realize(model, rc) return ! bail out else imp_rainrte = .FALSE. - call ESMF_StateRemove(importState, (/"inst_prec_rate"/), rc=rc) + call ESMF_StateRemove(importState, (/"mean_prec_rate"/), rc=rc) endif if (NUOPC_IsConnected(importState, fieldName="accumulated_lwe_thickness_of_precipitation_amount")) then diff --git a/tests/fd_fire.yaml b/tests/fd_fire.yaml index ffb5465..3480859 100644 --- a/tests/fd_fire.yaml +++ b/tests/fd_fire.yaml @@ -34,7 +34,7 @@ description: atmosphere export # - standard_name: Faxa_rain - alias: inst_prec_rate + alias: mean_prec_rate canonical_units: kg m-2 s-1 description: atmosphere export # diff --git a/tests/testx/testx.yaml b/tests/testx/testx.yaml index 2ce51e4..6f0e829 100644 --- a/tests/testx/testx.yaml +++ b/tests/testx/testx.yaml @@ -53,7 +53,7 @@ ATMD: inst_geop_levels: {dim: 3, val: 15046.8} inst_pres_levels: {dim: 3, val: 85000} inst_surface_roughness: {dim: 2, val: 0.12} - inst_prec_rate: {dim: 2, val: 0} + mean_prec_rate: {dim: 2, val: 0} inst_spec_humid_height2m: {dim: 2, val: 0.005} inst_pres_height_surface: {dim: 2, val: 85000} inst_temp_height2m: {dim: 2, val: 310}