https://github.com/azeemk210/geotiff-pixel-center-latitude-longitude-extraction-from-s2a-dataset

This repository provides a utility to compute the central latitude and longitude for each pixel in a GeoTIFF file. It also includes options to save the results as `.npy` files and visualize the longitude mesh grid.

https://github.com/azeemk210/geotiff-pixel-center-latitude-longitude-extraction-from-s2a-dataset

Science Score: 13.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.2%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

This repository provides a utility to compute the central latitude and longitude for each pixel in a GeoTIFF file. It also includes options to save the results as `.npy` files and visualize the longitude mesh grid.

Basic Info
  • Host: GitHub
  • Owner: azeemk210
  • Default Branch: main
  • Size: 4.88 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme

README.md

GeoTIFF Pixel Center Latitude/Longitude Extraction

This repository provides a utility to compute the central latitude and longitude for each pixel in a GeoTIFF file. It also includes options to save the results as .npy files and visualize the longitude mesh grid.

Features

  • Compute central latitude and longitude for each pixel in a GeoTIFF file.
  • Save the latitude and longitude mesh grids for further use.
  • Visualize the longitude mesh grid for quick verification.

Requirements

The script requires the following Python libraries:

  • rasterio
  • numpy
  • pyproj
  • matplotlib

You can install the required libraries using:

```bash pip install rasterio numpy pyproj matplotlib

Usage 1. Clone the repositor git clone https://github.com/your_username/geotiff-latlon-extraction.git cd geotiff-latlon-extraction

  1. Run the script with your GeoTIFF file: python computelatlon.py --tifffile /path/to/your/file.tif --output_dir /path/to/save/results --visualize

Owner

  • Name: azeemk210
  • Login: azeemk210
  • Kind: user

GitHub Events

Total
  • Push event: 2
  • Create event: 2
Last Year
  • Push event: 2
  • Create event: 2