Skip to content

Commit

Permalink
maybe a fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Oct 15, 2024
1 parent 83784ee commit ccf1d14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nwp_consumer/internal/inputs/metoffice/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,12 @@ def parameterConformMap(self) -> dict[str, internal.OCFParameter]:
"rprate": internal.OCFParameter.RainPrecipitationRate,
"tprate": internal.OCFParameter.RainPrecipitationRate,
"sd": internal.OCFParameter.SnowDepthWaterEquivalent,
# There is some weird behaviour with the radiation parameters, and different setups
# this is a catch all situation (hopefully)
"dswrf": internal.OCFParameter.DownwardShortWaveRadiationFlux,
"sdswrf": internal.OCFParameter.DownwardShortWaveRadiationFlux,
"dlwrf": internal.OCFParameter.DownwardLongWaveRadiationFlux,
"sdlwrf": internal.OCFParameter.DownwardLongWaveRadiationFlux,
}


Expand Down

0 comments on commit ccf1d14

Please sign in to comment.