Code Monkey home page Code Monkey logo

zchristian955 / usgs_lidar_agritech Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 58.89 MB

As part of the data engineering team, you are tasked to produce an easy to use, reliable and well designed python module that domain experts and data scientists can use to fetch, visualise, and transform publicly available satellite and LIDAR data. In particular, your code should interface with USGS 3DEP and fetch data using their API.Package build which allows to download USGS 3DEP data.

Home Page: https://github.com/Zchristian955/USGS_LIDAR_AgriTech.git

Jupyter Notebook 99.96% Python 0.04%
python notebook pdal data-science

usgs_lidar_agritech's Introduction

USGS_LIDAR-AgriTech

At AgriTech, we are very interested in how water flows through a maize farm field. This knowledge will help us improve our research on new agricultural products being tested on farms.How much maize a field produces is very spatially variable?

One important ingredient to understanding water flow in a field is by measuring the elevation of the field at many points. The USGS 3DEP recently released high resolution elevation data as a lidar point cloud called USGS 3DEP in a public dataset on Amazon. This dataset is essential to build models of water flow and predict plant health and maize harvest.

As part of the data engineering team, you are tasked to produce an easy to use, reliable and well designed python module that domain experts and data scientists can use to fetch, visualise, and transform publicly available satellite and LIDAR data. In particular, your code should interface with USGS 3DEP and fetch data using their API.

So then, the first step is to make :

  • Library with can directly interact with the api
  • Data Fetching and Loading
  • Terrain Visualization
  • Data transformation

Instalation of package

  • Install Required Python Modules
  • The pipeline is call iowa.json

Run this in the ananconda prompt

Create a new environment

  • for pdal
$ conda create -n pdalenv
$ activate pdalenv
conda install -c conda-forge pdal
  • create another also for geopandas
$ conda create -n geoenv
$ activate geoenv
$ conda install -c conda-forge geopandas

  • Cloning the reposity and install all the requirement
$ pip install -r requirements.txt 

Scripts and the nootebook

The scripts and the notebook provided a tools which can help to eaisly handle task such as get the data,data prepocessing, georefence and data visualisation

Package_Scripts

The package interacts with USGS 3DEP data.

  • Boundaries: using that, to gollect a boundaries of the data
  • get_data : this one is used plus the hson file to collect the data from the url, paste the script and the jso file on the same folder
  • reprojection : used to rejected the reproject the data on WGS84
  • visualisation : create a great data visualisation
  • frame_region : get the geometry of the farm region

Data

The data is read from the USGS 3DEP AWS Public Dataset using the PDAL package. The data collected will be with the pipeline will be a laz file and a tiff fill , another way to collect directly the data is to use this url "https://s3-us-west-2.amazonaws.com/usgs-lidar-public/IA_FullState/ept.json" on the jupyter notebook or whatever the eiteor for python.

Raster plot

The image below show the raster of the data downloard with te pipeline

usgs_lidar_agritech's People

Contributors

zchristian955 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

bhirwa

usgs_lidar_agritech's Issues

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.