Skip to content

Conversation

@abradley60
Copy link
Collaborator

  • Correcting the STAC geometries by using the valid data within a geotiff. A polygon is created that represents the minimum rotated rectangle of the valid data. Note, more points are added along the rectangle edges to ensure reprojections to other coordinate systems work appropriately.
  • Removing old geometry logic relying on the CDSE geometries, as these are also incorrect
  • Adding a test that is specific to the metadata creation function
  • Note, future work will clean the tests for consistency

# use the local incidence angle layer
for f in self.burst_folder.iterdir():
if "local" in f.name and "incidence" in f.name:
geometry_tif = f
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If my read of this logic is correct, the geometry will be created for the last tif that's found when iterating through polarisation files / incidence angle files in the directory. For dual pol, are we confident that the geocoding is always the same? I'm guessing we are, but just want to check that it's valid to get the geometry from either polarisaiton.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants