zarr_geospatial_playground

A repo to test zaar file

https://github.com/epfl-enac/zarr_geospatial_playground

Science Score: 52.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
    Organization epfl-enac has institutional domain (enac.epfl.ch)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

A repo to test zaar file

Basic Info
  • Host: GitHub
  • Owner: EPFL-ENAC
  • License: apache-2.0
  • Language: Jupyter Notebook
  • Default Branch: master
  • Size: 1.38 MB
Statistics
  • Stars: 0
  • Watchers: 6
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed over 2 years ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

Introduction

This code is just a couple of tests I did on a Zarr file compared to a Cloud Optimized GeoTIFF (COG).

Alt text

The code in this repository performs the following tasks:

  • Downloads a batch of digital surface models
  • Creates a Zarr file from them
  • Loads the Zarr file into a Jupyter notebook
  • Repeats the process with GeoTIFF
  • Compares the file types

Conclusion

  • The zarr file is significantly smaller than the GeoTiff.
  • The loading time is slightly better with the zarr file.

Notes

  • the chunks has not been taken into account
  • we do not use the capacity of zarr files to store multidimentional data
  • we are not using the geozarr functionalities (under development)

Installation

  1. Clone this repository.
  2. Install the necessary dependencies.
  3. Run the Jupyter notebook.

Dependencies:

All external packages are defined into the pyproject.toml.

Project dependencies installation

To install the project dependencies, run pip as follows:

bash pip install .

The pyproject.toml contains the [project.optional-dependencies] selection to define the development dependencies:

To install these dependencies, run:

bash pip install .[dev]

Jupyter Notebook

To run the notebook, go to notebook folder of your project and run :

bash python -m notebook

Owner

  • Name: EPFL ENAC
  • Login: EPFL-ENAC
  • Kind: organization
  • Location: Lausanne, Switzerland

EPFL, School of Architecture, Civil and Environmental Engineering

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Longchamp"
  given-names: "Régis"
  orcid: "https://orcid.org/0009-0009-4609-8473"
title: "zarr_geospatial_playground"
version: 0.0.1
doi: 10.5281/zenodo.1234
date-released: 2023-08-29
url: "https://github.com/EPFL-ENAC/zarr_geospatial_playground"

GitHub Events

Total
Last Year

Dependencies

.github/workflows/code_quality.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • jpetrucciani/ruff-check main composite
  • psf/black stable composite
pyproject.toml pypi
  • appeal *
  • jupyter *
  • matplotlib *
  • numpy *
  • pandas *
  • pooch *
  • rasterio *
  • tqdm *
  • zarr *