From 56f9920300e873cf769b96ae50b26f2ee9120f13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20R=C3=B6sner?= Date: Thu, 12 Dec 2024 08:19:52 +0100 Subject: [PATCH 1/2] fix resolution property name --- pyresample/_formatting_html.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyresample/_formatting_html.py b/pyresample/_formatting_html.py index d015f298..4203760e 100644 --- a/pyresample/_formatting_html.py +++ b/pyresample/_formatting_html.py @@ -190,6 +190,10 @@ def proj_area_attrs_section(area: 'geom.AreaDefinition') -> str: # noqa F821 sorted(proj_dict.keys())])) area_units = proj_dict.get("units", "") + resolution_bp_name = "Resolution x/y" + if proj_dict.get("proj") == "geos": + resolution_bp_name += " (SSP)" + attrs_icon = _icon("icon-file-text2") area_attrs = ("
" @@ -197,7 +201,7 @@ def proj_area_attrs_section(area: 'geom.AreaDefinition') -> str: # noqa F821 f"
Description
{area.description}
" f"
Projection
{proj_str}
" f"
Width/Height
{area.width}/{area.height} Pixel
" - f"
Resolution x/y (SSP)
{resolution_str} {area_units}
" + f"
{resolution_bp_name}
{resolution_str} {area_units}
" f"
Extent (ll_x, ll_y, ur_x, ur_y)
" f"
{tuple(round(float(x), 4) for x in area.area_extent)}
" "
" From d33686ee4e8976a725b6ca6eabade20f319ec7b8 Mon Sep 17 00:00:00 2001 From: David Hoese Date: Thu, 12 Dec 2024 10:20:35 -0600 Subject: [PATCH 2/2] Update deploy CI with macos-13 macos-12 is deprecated --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 0416b506..21f4dc22 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -44,7 +44,7 @@ jobs: - os: windows-2019 cibw_archs: "AMD64 ARM64" artifact_name: "win" - - os: macos-12 + - os: macos-13 cibw_archs: "x86_64 arm64" artifact_name: "mac" - os: "ubuntu-20.04"