Giter Site home page Giter Site logo

yaron1000 / chaper1_uas_camatta Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gracehliu/chaper1_uas_camatta

0.0 1.0 0.0 51 KB

This project is the first research chapter of my dissertation proposal. I will be exploring the feasibility of using UAS remote sensing data to estimate forage production of a topographically heterogeneous rangeland nearby Atascadero, CA.

R 59.84% Python 40.16%

chaper1_uas_camatta's Introduction

Chaper1_UAS_Camatta

Project Summary

This project is the first research chapter of my dissertation proposal. The goal of this project is to develope light use efficiency based models for forage production mapping using remote sensing observations collected from satellite and small Unmanned Aerial Systems (sUAS).

sUAS_mapping

Code Descriptions

1. Satellite data processing

1.1 I_Clip_DNtoTOANDVI.py

This code 1) clips the raw satellite images to the area of interest, 2) converts the raw digital number (DN) to top of atmosphere (TOA) reflectance, and 3) calculates the normalized difference vegetation index (NDVI).

  • packages: os, glob, math, json, ogr, osr, datetime, osgeo,numpy, system, xml

  • input: PlanetScope satellite images (.tif and the corresponding metadata in .xml) and clipping boundaries (.shp)

  • output: TOA based NDVI images (.tif)

1.2 II_TOANDVI_Interpolation.py

This code performs temporal interpolation (linear) and smoothing (savgol filter) to the output NDVI images from I_Clip_DNtoTOANDVI and generates daily time series of NDVI images.

  • packages: gdal, os, osr, datetime,numpy, pandas, scipy.signal, shutil, glob

  • input: NDVI images (.tif)

  • output: daily NDVI images (.tif)

2. PAR data sharpening

2.1 I_Daily_AreaSol.py

This code derives clear sky incoming solar radiation from a raster surface.

  • packages: arcpy (comes with ArcGIS), os, datetime, progressbar, time

  • input: DEM (.tif)

  • output: Spatial solar radiation (.tif)

2.2 II_PAR_sharpening.py

This code sharpens the spatial CIMIS all sky solar radiation from 2km resolution to 30cm resolution.

  • packages: os, datetime, glob, osr, gdal, numpy

  • input: Spatial solar radiation (.tif) at 2km (all sky) and 30cm (clear sky) resolution.

  • output: Sharpened (all sky) spatial solar radiation (.tif)

3. sUAS data processing

3.1 I_Clip_Resample.py

This code clips and resamples the input sUAS images.

  • packages: os

  • input: sUAS images (.tif) and boundary (.shp)

  • output: Clipped and resampled images (.tif)

3.2 II_TopoCorrect_CModel.r

This code performs illumination correction (C model) to sUAS images.

  • libraries: raster, sp, rgdal, xlsx

  • input: surface reflectance images (.tif) and illumination condition images (.tif)

  • output: illumination corrected surface reflectance images (.tif)

3.3 III_SSTARFM_Datafusion.py

This code implements a simple data fusion method to PlanetScope (3m) and sUAS (30cm) NDVI images and generates daily NDVI images at 30cm resolution.

  • packages: os, datetime, glob, osr, gdal, numpy, pandas, and scipy

  • input: NDVI images at supplementary spatial and temporal resolution (.tif)

  • output: fused NDVI images (.tif)

3.4 IIII_NDVItoAPAR.py

This code calculates APAR from NDVI and incoming shortwave solar radiation.

  • packages: os, datetime, glob, osr, gdal, numpy, pandas, and shutil

  • input: NDVI images and spatial incoming shortwave solar radiation (.tif)

  • output: APAR images (.tif)

3.5 IIIII_ExtractValues.py

This code extracts raster values at the locations of input multipoint shapefiles.

  • packages: os, gdal, ogr, datetime, glob, pandas

  • input: raster images (.tif) and multipoint shapefiles (.shp)

  • output: data table containing the extracted values (.csv)

4. Model optimization

The three codes under model optimization uses stochastic gradient descent method to calibrate the coefficients in our models by minimizing the RMSE. The three codes corresponds to the three models in our paper.

  • libraries: Deriv, reshape2, Metrics, and (ggplot)

Contact

Reach out to me at my website at https://gracehliu.weebly.com/contact.html

chaper1_uas_camatta's People

Contributors

gracehliu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.