Skip to main content

Package for extracting the time and spatial extent of Geodata

Project description

Use as CLI-Tool

Install

pip install geodataExtent

Usage

extract-extent --help

gives:

Options:
  --path TEXT  Path to Folder containing Geofiles
  -c, --clear  Clear screen before showing results
  -t, --time   execute time extraction for one file
  -s, --space  execute boundingbox extraction for one file
  -h, --hull   execute convex-hull extraction for one file
  --help       Show this message and exit.

Those are only options, you do not have to use them. However, if you do not choos any of the execution flags (-t / -s / -h), the folderextraction will be triggered and gives you the spatial and temporal extent of each of your Geofiles within the chosen folder in addition to the full spatial and temporal extent of the folder.

You are not limeted to choose only one option but all of them at once except for --help.

If you do not use --path, the path will be prompted. That means it is a shortcut only.

Examples

$ extract-extent -t -s -h
Pleas enter path to Folder: <path>
Pleas enter filename: <filename>

Timeextent:
['1935/01/01 00:00:00 GMT+0', '2014/01/01 00:00:00 GMT+0', 365.253164556962]


Spatialextent:
[-179.5, -89.5, 179.5, 89.5]


Spatialextent as Convex Hull:
[(-179.5, -89.5), (-179.5, 89.5), (179.5, 89.5), (179.5, -89.5)]

The Timeextent starts with the beginning and ends with the end date as ISO8601 standard. the last number is the average intervall in which measurements have been taken.

The spatial extent is shown as a boundingbox. [minX/minLong, minY/minLat, maxX/maxLong, maxY/maxLat]

For more percission the -h / --hull flag gives you the spatial exnent as a convex hull. That means from all the points of a dataset the outer most points are beeing calculated and returned in correct order.

Folderextraction

If you want to extract your hole folder, the -c / --clear flag is recommended because a long list of processing outputs is generated before the final output appears.

$ extract-extent -c --path "<folder path>"

Use as module

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

geodataExtent-0.2.2.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

geodataExtent-0.2.2-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file geodataExtent-0.2.2.tar.gz.

File metadata

  • Download URL: geodataExtent-0.2.2.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for geodataExtent-0.2.2.tar.gz
Algorithm Hash digest
SHA256 4529e9c65a59830b8f19dea19c38f07f852c278ce9ad1bf96e9e4c9d699ff3d6
MD5 db8d327b3cd331005995775078653ccc
BLAKE2b-256 f7ea233948b7323093e20832e9554fa0811f2df20240cc47dd20dfc9c5b330e2

See more details on using hashes here.

File details

Details for the file geodataExtent-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: geodataExtent-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for geodataExtent-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f66a4e115eaaa7a8c7d437861dcc33c2f039cdac1ec56fc931fe7d2e73f22f6d
MD5 8c3fa4e6ddef8408cf29b7ca73b40d25
BLAKE2b-256 56e536b3645f6f5b4ab63b0023d82bbe1533fb597f1050a0d4c92060f1c5e761

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