Skip to main content

LOFAR GeoTIFF

This package provides a simple function to write LOFAR near field images as a GeoTIFF file. This makes sure that some metadata is kept, in particular the location of the image.

Installation

pip install lofargeotiff

Usage

Using as input a two-dimensional numpy array of pixel values, and the PQ coordinates of the (center of the) lower left and upper right pixel, the following command writes a GeoTIFF:

from lofargeotiff import write_geotiff
import numpy as np

data = np.random.rand(400, 400)
lowerleft = (-200, -200)
upperright = (200, 200)

write_geotiff(data, "test.tif", lowerleft, upperright,
              obsdate="2016-02-12 08:00:00",
              tags={"Author": "Tammo Jan Dijkema",
                    "Project": "EOR"})

The resulting file can be read back into python using rasterio.open, or any other package that reads TIFF. The metadata can be inspected on the command line with exiftool.

Metadata

Release files for lofargeotiff 0.1

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

Source distribution (sdist)

Source distribution for lofargeotiff 0.1
File Size Uploaded Provenance Actions
lofargeotiff-0.1.tar.gz 6.9 kB Without provenance Details for lofargeotiff-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lofargeotiff 0.1
File Interpreter ABI Platform Actions
lofargeotiff-0.1-py3-none-any.whl Python 3 none any Details for lofargeotiff-0.1-py3-none-any.whl

Total release size: 10.2 kB

Release files / lofargeotiff-0.1.tar.gz

Download URL lofargeotiff-0.1.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b75f1f99ac484b090f13b96cd4d4f9bf868cf48bc121d40f84793768af032879
BLAKE2b-256 checksum
How to use checksums
fbb9ce27eadadd8d7cb0046cf546f3128391aada789e7f531378f5762ee54ee4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Release files / lofargeotiff-0.1-py3-none-any.whl

Download URL lofargeotiff-0.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2938fa3c56abf0edac39c58d001f22bd3db7df34ae7d1ba476603a44952f4c05
BLAKE2b-256 checksum
How to use checksums
f9689f0238e1812fd8f77472dce66b33c65562d13e5cf9253e94d4eee01bf65f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Security for lofargeotiff 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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