Skip to content

Conversation

@TomAugspurger
Copy link
Member

Description:

Currently, stac.create_item requires creating the geoparquet assets if you want geoparquet metadata in the asset. This PR updates stac.create_item to accept geoparquet hrefs in addition to the NetCDF hrefs. If the geoparquet hrefs are provided then asset generation is skipped.

WIP, since I haven't properly tested everything.

PR checklist:

  • Code is formatted (run scripts/format).
  • Code lints properly (run scripts/lint).
  • Tests pass (run scripts/test).
  • Documentation has been updated to reflect changes, if applicable.
  • Examples have been updated to reflect changes, if applicable
  • Changes are added to the CHANGELOG.

]
],
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

The columns can't be constant as the columns vary slightly. Sometimes there are for example columns containing ...frame_time_offset..., sometimes they are missing (here it seems they are missing). So you need to read the files to get the actual content...

Copy link
Member Author

@TomAugspurger TomAugspurger Oct 27, 2022

Choose a reason for hiding this comment

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

Well, that's unfortunate! But thanks for the note. I'll get that info from the parquet file / netcdf file then.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ignore my latest commit, which really mangles parquet.create_asset. I intend to clean it up.

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