diff --git a/bris/projections.py b/bris/projections.py index 05a00eec..ccb13bed 100644 --- a/bris/projections.py +++ b/bris/projections.py @@ -10,6 +10,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] diff --git a/bris/units.py b/bris/units.py index 70c1753c..8f99c1aa 100644 --- a/bris/units.py +++ b/bris/units.py @@ -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", "mm/h"], "degree": ["degrees"], "%": ["percent"], }