Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bris/projections.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ def get_proj4_str(name: str) -> str:
"arome_arctic": "+proj=lcc +lat_0=77.5 +lon_0=-25 +lat_1=77.5 +lat_2=77.5 +x_0=0 +y_0=0 +R=6371000 +units=m +no_defs +type=crs",
"norkyst_v3": "+proj=stere +lat_0=90 +lat_ts=60 +lon_0=70 +x_0=3369600 +y_0=1844800 +a=6378137 +b=6356752.3142 +units=m +no_defs +type=crs",
"nordic_analysis": "+proj=lcc +lat_0=63.0 +lon_0=15 +lat_1=63.0 +lat_2=63.0 +x_0=0 +y_0=0 +R=6371000 +units=m +no_defs +type=crs",
"ara": "+proj=lcc +lat_0=47.400 +lon_0=13.800 +lat_1=42.981 +lat_2=51.819 +x_0=0 +y_0=0 +R=6371000 +units=m +no_defs +type=crs"
}[name]


Expand Down
4 changes: 2 additions & 2 deletions bris/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ def find_common_name(units: str | None) -> str | None:

# Key: common name, value: List of alternative names
identical = {
"celsius": ["C", "degC"],
"celsius": ["C", "degC", "°C"],
"km/h": ["kmh"],
"kg/m^2": ["mm", "Kg/m^2", "Kg/m2", "kg/m2"],
"kg/m^2": ["mm", "Kg/m^2", "Kg/m2", "kg/m2", "mm/6h", "mm/3h", "mm/1h"], # verif package should be handling the temporal accum window

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I understand this comment. Can you elaborate?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Input file to verif package should correspond to the temporal accumulation window, but the comment is indeed confusing and unnecessary.
Will remove it

"degree": ["degrees"],
"%": ["percent"],
}
Expand Down
Loading