File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,15 +27,22 @@ def template(self):
2727 "anl" : "Analysis" ,
2828 "err" : "Analysis Forecast Error" ,
2929 "ges" : "Forecasts" ,
30- "pcp " : "Precipitation Field" ,
30+ "pcp_01 " : "1 hr Precipitation Field" ,
3131 }
3232
33- if self .product != "pcp " :
33+ if self .product != "pcp_01 " :
3434 PATH = f"urma2p5.{ self .date :%Y%m%d} /urma2p5.t{ self .date :%H} z.2dvar{ self .product } _ndfd.grb2_wexp"
3535 self .SOURCES = {
3636 "aws" : f"https://noaa-urma-pds.s3.amazonaws.com/{ PATH } " ,
3737 "nomads" : f"https://nomads.ncep.noaa.gov/pub/data/nccf/com/urma/prod/{ PATH } " ,
3838 }
39+ elif self .product == "pcp_01" :
40+ PATH = f"urma2p5.{ self .date :%Y%m%d} /urma2p5.{ self .date :%Y%m%d%H} .{ self .product } h.wexp.grb2"
41+ self .SOURCES = {
42+ "aws" : f"https://noaa-urma-pds.s3.amazonaws.com/{ PATH } " ,
43+ "nomads" : f"https://nomads.ncep.noaa.gov/pub/data/nccf/com/urma/prod/{ PATH } " ,
44+ }
45+
3946 else :
4047 raise NotImplementedError (
4148 "The URMA model template needs some work. Please edit open a pull request. https://github.com/blaylockbk/Herbie/blob/main/src/herbie/models/urma.py"
You can’t perform that action at this time.
0 commit comments