Skip to content
Snippets Groups Projects
Commit 17005cd1 authored by Snyder, Amelia Marie's avatar Snyder, Amelia Marie
Browse files

reorder attrs

parent 01da50c4
No related branches found
No related tags found
1 merge request!46add extent and step checks from attrs
......@@ -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}')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment