Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/EkicierNico/pykic
Python module for remote sensing and GIS domain (image/signal, vector, miscellaneous processing)
https://github.com/EkicierNico/pykic
Last synced: 3 months ago
JSON representation
Python module for remote sensing and GIS domain (image/signal, vector, miscellaneous processing)
- Host: GitHub
- URL: https://github.com/EkicierNico/pykic
- Owner: EkicierNico
- License: mit
- Created: 2019-03-01T14:44:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-03T10:42:35.000Z (9 months ago)
- Last Synced: 2024-05-16T02:33:28.388Z (6 months ago)
- Language: Python
- Homepage:
- Size: 564 KB
- Stars: 10
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-earthobservation-code - pykic - 'Python' module for remote sensing and GIS domain (image/signal, vector, miscellaneous processing) (`Python` processing of optical imagery (non deep learning) / Processing imagery - post processing)
README
![Map](/docs/map.png "Map from Sentinel2 Timeserie")
# Python functions for a remote sensing application.
## 1. **Raster** : raster utilities, some based on gdal/osgeo bindings
### Functions in `pykic_gdal.py`
- **gdal2array** : read RS dataset from one raw file or from folders --> S2, LS8, maja, sen2cor, wasp. In this case, cloud and no data mask are read.
- **geoinfo** : Extract geo-informations from a raster or a geometry (only epsg for this type)
- **getextent** : Get the extent of a raster
- **array2tif** : Create a compressed raster (.tif) from numpy array (multi-bands / COG format is possible)
- **makemask** : Build a mask array from ogr geometry
- **valfromdot** : Extract values of a raster from coordinates
- **imreproj** : Reproject a raster in memory, without write it on disk
### Functions in `pyfmask.py`
- **applyfmask** : Apply Fmask on Landsat data
### Functions in `resafilter.py`
- **resample_2d** : Make a resampling on image (some methods like lanczos, bicubic etc...)
- **pan_sharpen** : Make a pan-sharpening resampling on a raster## 2. **Vector** : ogr utilities, mainly based on Geopandas and gdal/osgeo
### Functions in `pykic_ogr.py`
- **ogreproj** : Reprojection of an OGR layer
- **checkproj** : Check if projections between geometries are same OR same as a given epsg
- **zonstat** : Compute zonal statistics (count) on each polygon of layer from an image
- **sprocessing** : Geometric processing between layers (intersection etc...)
- **shpbuf** : Create a buffer of geometries from a layer
- **getbbox** : Get the bounding box of geometry (extent)
- **distm** : Geodesic distance between dots (degrees units)
- **add_field_id** : Add an ID field in the attribute table of a layer
- **convert_coord** : Convert coordinates from an EPSG to another## 3. **SMAC** : atmospheric correction from smac algorithm, developed by CESBIO
- _smac.py_ : apply atmospheric correction SMAC## 4. **Miscellaneous** : generic codes to make the job easier
### Functions in `signalproc.py`
- **whittf** : Apply a Whittaker smoothing (weighted if needed)
- **fillnan_and_resample** : Interpolation / resampling of vector data with nan values
- **smooth_compute** : Compute Whittaker smoothing with multi-threading (array with some vector data)
- **regress** : Compute regression from 2 datasets (linear or polynomial)
- **outliers** : Extract index and values of outliers in input
- **phen_met** : Extract phenological metrics from one crop season
### Functions in `database.py`
- **buildproto** : Build a string protocol to get db
- **getdb** : Get data from db
- **getdbtable** : Get list of tables in the database
### Functions in `miscdate.py`
- **datefromstr** : Find a date into a string
- **dconvert** : Convert date format into another
- **dtoday** : Return date of today into a string
### Functions in `plotik.py`
- **imadjust** : Adjust intensity of an image
- **plot_confusion_matrix** : Built the confusion matrix as plot
### Functions in `vi.py`
- Computation of some vegetation index : NDVI, NDWI, EVI, WRDVI, SAVI, CVI