geomaster
Fungsinya
GeoMaster adalah tool untuk menganalisis data geografis. Tool ini membantu mengolah citra satelit, peta (vektor dan raster), statistik spasial, dan machine learning untuk memahami Bumi.
Kapan dipakai
- ✓Saat memproses citra satelit.
- ✓Saat menggabungkan atau membandingkan peta dari sumber yang berbeda.
- ✓Saat menganalisis pola dalam data lokasi.
Link skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/geomaster/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Analisis citra satelit ini untuk mengidentifikasi area deforestasi.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
GeoMaster menyusun data geografis, memeriksa informasi sumbernya, dan memastikan peta sudah sejajar dengan benar sebelum melakukan analisis yang kompleks.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
GeoMaster
Geospatial analysis across vector/raster GIS, remote sensing, spatial ML, terrain, networks, and scientific applications. Start with the relevant workflow, inspect input provenance, and load only the reference needed for the task.
Tested scope and installation
The local recipe suite targets GeoPandas 1.2.0, Rasterio 1.5.2, Shapely 2.1.2, PyProj 3.8.0, Rioxarray 0.23.0, Xarray 2026.9.0, OSMnx 2.1.1 and PySTAC Client 0.9.0. See review and source ledger for execution limits. Examples requiring actual input files are templates; authenticated Earth Engine/CDS/commercial services, desktop GIS and GPU training remain illustrative.
# In a dedicated environment; install only the workflow's optional dependencies.
uv venv --python 3.13
uv pip install geopandas==1.2.0 rasterio==1.5.2 shapely==2.1.2 pyproj==3.8.0
uv pip install rioxarray==0.23.0 xarray==2026.9.0 'dask[array]' scikit-learn==1.9.1
uv pip install pystac-client==0.9.0 planetary-computer==1.0.0 odc-stac
# For osgeo/native CLI or PDAL, use a separate conda-forge environment:
# conda create -n geo-native -c conda-forge python=3.13 gdal pdal python-pdal
Install TorchGeo/PyTorch, RSGISLib, Py6S/6S, ArcPy, QGIS or other specialist
runtimes separately when required. A Rasterio wheel includes its own GDAL library;
it does not install osgeo or the GDAL command-line programs.
Workflow
- Record product/collection ID, acquisition time, processing baseline, license, band names, scale/offset, QA meaning, horizontal/vertical CRS and units.
- Verify CRS from authoritative metadata.
set_crslabels coordinates;to_crstransforms them. Never infer an unknown CRS from plausible bounds. - Align extent, affine transform, dimensions, pixel registration and resolution. Reproject categorical masks with nearest-neighbor resampling; choose an appropriate resampler for continuous data. Matching array shape alone does not prove alignment.
- Preserve nodata, clouds, shadows and saturation masks. Convert unsigned integers to floating point before differences; apply the provider's radiometric transform once.
- Run the analysis at a defensible support/resolution. Keep training labels and validation blocks separate. Terrain elevation and horizontal units must agree.
- Export CRS, transform, valid-data mask, units, model settings and provenance. Check numeric expectations on a small known fixture before scaling up.
Local raster recipes
Import the bundled raster helper from its directory
(add that directory to PYTHONPATH or run from it). It implements small in-memory
recipes; use windows/Dask for larger data. Writers require a new output path. It does not infer band identities or masks.
NDVI
from raster_workflows import write_ndvi
# This example assumes a VERIFIED four-band B02/B03/B04/B08 stack whose mask
# already excludes clouds/shadows, and harmonized DN reflectance = DN * 0.0001.
write_ndvi('s2_masked_stack.tif', 'ndvi.tif', red_band=3, nir_band=4,
scale=0.0001, offset=0.0)
Do not use those indices or calibration for an arbitrary sentinel2.tif.
SAFE products and STAC assets are often separate single-band rasters. Additive
radiometric offsets affect even NDVI. EVI/SAVI require physical reflectance.
normalized_difference keeps undefined ratios and invalid cells as NaN, not zero.
Terrain
import rasterio
from raster_workflows import terrain_metrics
with rasterio.open('dem_metres.tif') as src:
slope_deg, aspect_deg, shade = terrain_metrics(
src.read(1, masked=True), src.transform, src.crs)
The helper requires a north-up projected metric grid and elevations in metres. Aspect points downslope clockwise from north; it is undefined for flat cells. Slope is resolution-aware; nodata contaminating a derivative stencil stays invalid. Hillshade is an illumination visualization, not hydrological flow or exposure risk.
Classification
import geopandas as gpd
from raster_workflows import classify_imagery
training = gpd.read_file('training.gpkg') # polygons with class_id in 1..65534
model = classify_imagery('masked_features.tif', training, 'classified.tif')
The helper checks CRS, geometry, labels, valid training pixels and overlapping labels, then preserves nodata in a uint16 output. It fits a small demonstration model; it does not measure accuracy. Use spatial/temporal holdouts at the field,
…
Pertanyaan umum
Apa itu data vektor dan raster?
Data raster seperti foto, berupa piksel dalam bentuk grid, misalnya citra satelit. Data vektor seperti gambar garis, berupa titik, garis, atau poligon, misalnya batas kota atau sungai.
Apa itu CRS?
CRS singkatan dari Coordinate Reference System (Sistem Referensi Koordinat). Ini seperti alamat untuk data geografis, yang menunjukkan lokasinya di dunia serta cara mengukur jarak dan luas.
Apakah saya bisa menggunakannya dengan citra satelit apa pun?
GeoMaster paling cocok dengan data dari sumber tertentu dan memerlukan citra dalam format yang kompatibel, dengan informasi koordinat dan cara pengolahannya yang jelas.
Detail
Deskripsi asli dari pembuat
Supports geospatial research workflows for remote sensing, vector and raster GIS, spatial statistics, terrain and network analysis, and machine learning for Earth observation. Use when processing satellite imagery, aligning coordinate systems and raster grids, accessing STAC catalogs, analyzing geospatial time series, or implementing scientific GIS workflows in Python, R, Julia, JavaScript, C++, J
Popularitas
- Bintang GitHub
- 51k
- Peringkat
- #3469
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
13c-metabolic-flux
51kMemperkirakan fluks metabolik menggunakan data pelacakan isotop karbon-13. Berguna untuk menganalisis metabolisme seluler dan jalur biokimia.
adaptyv
51kMerancang eksperimen karakterisasi protein menggunakan Adaptyv API. Membantu memperkirakan biaya, mengirimkan sekuens, dan memantau hasil lab.
aeon
51kMenjalankan tugas machine learning pada data time series. Berguna untuk klasifikasi, peramalan, deteksi anomali, dan menemukan pola dalam data berurutan.
alphagenome
51kMencari efek genomik yang sudah dihitung untuk varian genetik. Memberikan skor dan penjelasan untuk memahami dampak varian terhadap genom.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.