Skip to main content

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

Metadata

Release files for files-collections 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for files-collections 2.0.0
File Size Uploaded
files_collections-2.0.0.tar.gz 967.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for files-collections 2.0.0
File Interpreter ABI Platform
files_collections-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / files_collections-2.0.0.tar.gz

Download URL files_collections-2.0.0.tar.gz
Size 967.6 kB
Tags Source
SHA-256 checksum
How to use checksums
79fcf9358f7fbfe8a5ad4b4c6babc6ee83a63804e37de859da3984308e2bff8f
BLAKE2b-256 checksum
How to use checksums
6f66acecf1e38cbbe1a9d7a086d7a11226e93a684327735430528801f5998b49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / files_collections-2.0.0-py3-none-any.whl

Download URL files_collections-2.0.0-py3-none-any.whl
Size 116.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5517070611eae8df99d59d53b766fb728441e2d67d5766b273262be0df369429
BLAKE2b-256 checksum
How to use checksums
e30318828a9cfbf8391bee50167098040421f7ffdde862df35a8882064ec2bcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page