Skip to content

Commit

Permalink
DAS-2232 - comments updated for the get_spatial_index_ranges method
Browse files Browse the repository at this point in the history
  • Loading branch information
sudha-murthy committed Sep 26, 2024
1 parent 53f1660 commit f9f5e8b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hoss/spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ def get_spatial_index_ranges(
around the exterior of the user-defined GeoJSON shape, to ensure the
correct extents are derived.
For projected grids which do not follow CF standards, the projected
dimension scales are computed based on the values in the coordinate
datasets if they are available. The geocorners are obtained from the
coordinate datasets and converted to projected meters based on the crs
of the product. The dimension scales are then computed based on the
grid size and grid resolution
"""
bounding_box = get_harmony_message_bbox(harmony_message)
index_ranges = {}
Expand Down

0 comments on commit f9f5e8b

Please sign in to comment.