From 17005cd1e784ee3c6098f22bfeeb25f880819811 Mon Sep 17 00:00:00 2001 From: amsnyder <asnyder@usgs.gov> Date: Fri, 19 Jan 2024 16:58:10 -0600 Subject: [PATCH] reorder attrs --- workflows/stac_helpers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/workflows/stac_helpers.py b/workflows/stac_helpers.py index f3c64b38..a2466305 100644 --- a/workflows/stac_helpers.py +++ b/workflows/stac_helpers.py @@ -22,10 +22,10 @@ def license_picker(license_text): return license def print_attr(ds, attr_name): - # list of useful attrs found for reference: - # 'time_coverage_start', 'time_coverage_end', 'time_coverage_resolution', 'resolution', - # 'geospatial_lon_resolution', 'geospatial_lat_resolution', 'geospatial_lon_min', - # 'geospatial_lon_max', 'geospatial_lat_min', 'geospatial_lat_max' + # 'time_coverage_resolution', + # 'time_coverage_start', 'time_coverage_end', + # 'resolution', 'geospatial_lon_resolution', 'geospatial_lat_resolution', + # 'geospatial_lon_min','geospatial_lon_max', 'geospatial_lat_min', 'geospatial_lat_max' try: attr = ds.attrs[attr_name] print(f'dataset attribute \033[1m{attr_name}\033[0m: {attr}') -- GitLab