Skip to content

IGNF/lidar-for-fuel

Repository files navigation

LidarForFuel industrialiazation

This repo contains the code lidarForFuel written with R and developped by Olivier Martin : that code be re-written to accommodate specified changes to industralization.

Content

lidarforfuel aims to compute fuel metrics from airborne LiDAR data and map them at a large scale. Currently, two R functions have been developed: 1) fPCpretreatment: pretreatment of a point cloud and 2) fCBDprofile_fuelmetrics: computing fuel metrics. These functions can be used either at the plot scale for specific analyses on small areas or at a large scale using a catalog of LiDAR tiles from the lidR package.

Illustration summarising the global approach!

It is important to note that the function fCBDprofile_fuelmetrics for computing fuel metrics/profile needs as entry a pretreated point cloud obtained with the fPCpretreatment.

Installation / Usage

This library can be used in different ways:

  • directly from sources: make install creates a mamba environment with the required dependencies
  • installed with pip from pypi: pip install lidar_for_fuel
  • used in a docker container: see documentation Dockerfile

Project tree

  • .github/: folder containing issue templates and GitHub Actions;
  • .vscode/: folder containing a VS Code configuration for the project;
  • doc/: folder containing documentation .md files (e.g., install.md);
  • img/: folder containing images;
  • tests/: scripts and instructions for running tests;
  • README.md: this file

Dev / Build

Contribute

Every time the code is changed, think of updating the version file: lidar_for_fuel/_version.py

Please log your changes in CHANGELOG.md

To lint the code automatically on commit, install the precommit hooks with make install-precommit

Tests

Create the conda environment: make install

Run unit tests: make testing

Pip package

To generate a pip package and deploy it on pypi, use the Makefile at the root of the repo:

  • make build: build the library
  • make install: update environment with mamba
  • make deploy : deploy it on pypi

Docker image

To build a docker image with the library installed: make docker-build

To test the docker image: make docker-test

Contacts

Nom Prénom mail fonction
DUPAYS Malvina malvina.dupays@ign.fr DSI IGN

About

Ce code implémente la solution"lidarForFuel" développer par l'équie d'Olivier Martin (INRAE) : https://github.com/oliviermartin7/LidarForFuel

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors