Skip to content

Conversation

@tomkralidis
Copy link
Member

@tomkralidis tomkralidis commented Dec 21, 2025

Overview

This PR updates the repository to store cloudcover and gsd values as floats, as well as removes some leftover print() statements.

Related Issue / Discussion

None

Additional Information

Test SQLite3 databases updated as follows:

rm tests/functionaltests/suites/stac_api/data/records.db
pycsw-admin.py setup-repository -c tmp.cfg  # config pointing to tests/functionaltests/suites/stac_api/data/records.db
pycsw-admin.py load-records -c tmp.cfg -p tests/functionaltests/suites/stac_api/data

rm tests/functionaltests/suites/cite/data/cite.db
pycsw-admin.py setup-repository -c tmp.cfg  # config pointing to tests/functionaltests/suites/cite/data/cite.db
pycsw-admin.py load-records -c tmp.cfg -p tests/functionaltests/suites/cite/data

rm tests/functionaltests/suites/cite/data/cite-virtual-collections.db
cp tests/functionaltests/suites/cite/data/cite.db tests/functionaltests/suites/cite/data/cite-virtual-collections.db

sqlite3 tests/functionaltests/suites/cite/data/cite-virtual-collections.db
sqlite> UPDATE records SET parentidentifier='urn:uuid:19887a8a-f6b0-4a63-ae56-7fba0e17801f' WHERE rowid=2;
sqlite> UPDATE records SET parentidentifier='urn:uuid:19887a8a-f6b0-4a63-ae56-7fba0e17801f' WHERE rowid=3;

Contributions and Licensing

(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pycsw. I confirm that my contributions to pycsw will be compatible with the pycsw license guidelines at the time of contribution.
  • I have already previously agreed to the pycsw Contributions and Licensing Guidelines

@tomkralidis tomkralidis added this to the 3.0.0 milestone Dec 21, 2025
@tomkralidis tomkralidis requested a review from kalxas December 21, 2025 12:32
@tomkralidis tomkralidis changed the title [WIP] set cloudcover as float in repository set cloudcover as float in repository Dec 21, 2025
@kalxas kalxas changed the title set cloudcover as float in repository set cloudcover and gsd as floats in repository Dec 22, 2025
@kalxas kalxas merged commit 4b3e058 into master Jan 5, 2026
3 checks passed
@kalxas kalxas deleted the db-cloudcover-float branch January 5, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants