Skip to main content

Read a collection of files using information from their names

Project description

Files Collections

Linting Tests Documentation License

Select and read a collection of files

  • Information contained in files and folders names are used to create basic selection filters
  • Both local and remote file systems (FTP, S3, ...) can be explored
  • Multiple implementations for handling different products and their specificities
  • Easy building of an implementation for a new product

Installation

conda install files_collections -c conda-forge

Use

from fcollections.implementations import NetcdfFilesDatabaseSwotLRL3

fc = NetcdfFilesDatabaseSwotLRL3("data_dir")
ds = fc.query(subset='Basic', cycle_number=1, pass_number=1)

print(ds.sizes)

Output:

Frozen({'num_lines': 9860, 'num_pixels': 69})
print(list(ds.data_vars))

Output:

['mdt', 'ssha_filtered', 'ssha_unfiltered', 'cycle_number', 'pass_number']

Documentation

📘 Full documentation: https://cnes.github.io/fcollections/index.html

Key pages:

Project status

⚠️ This project is still subject to breaking changes. Versioning will reflects the breaking changes using SemVer convention

License

Apache 2.0 — see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

files_collections-2.0.0.tar.gz (967.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

files_collections-2.0.0-py3-none-any.whl (116.6 kB view details)

Uploaded Python 3

File details

Details for the file files_collections-2.0.0.tar.gz.

File metadata

  • Download URL: files_collections-2.0.0.tar.gz
  • Upload date:
  • Size: 967.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for files_collections-2.0.0.tar.gz
Algorithm Hash digest
SHA256 79fcf9358f7fbfe8a5ad4b4c6babc6ee83a63804e37de859da3984308e2bff8f
MD5 4fecde624e9762d5d89cfeaab9e15c65
BLAKE2b-256 6f66acecf1e38cbbe1a9d7a086d7a11226e93a684327735430528801f5998b49

See more details on using hashes here.

File details

Details for the file files_collections-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for files_collections-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5517070611eae8df99d59d53b766fb728441e2d67d5766b273262be0df369429
MD5 de1965a9b4995190717c98837ad35a7c
BLAKE2b-256 e30318828a9cfbf8391bee50167098040421f7ffdde862df35a8882064ec2bcb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page