Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.

Tooling for creating the auxiliary datasets needed in LCMAP

License

Notifications You must be signed in to change notification settings

repository-preservation/lcmap-oxen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lcmap-oxen

Tooling for creating the auxiliary datasets needed in LCMAP

Generating Tiled NLCD

A full GDAL installation is required. GDAL can be compiled and installed by conda.

Other requirements:

python >= 3.6

Run the script from the command line:

$python clip_nlcd.py -i /path/to/conus-nlcd-raster -o /path/to/output-directory/ --acquired YYYYMMDD --prod NLCD *or* NLCD_TRAINING

CLI parameters:

  • -i, The full path to a CONUS NLCD raster file.
  • -o, The full path to an output directory, will be created if it does not exist.
  • --acquired, A date (YYYYMMDD) that describes the acquisition of the original raster data; used in the filenames for the outputs.
  • --prod, A string description of the input dataset, currently NLCD and NLCD_TRAINING are valid options; used in the filenames for the outputs.
  • --overwrite, Optional, adding this will cause existing files to be overwritten, otherwise they will be skipped.

This script was designed to generate tiled NLCD but could be modified to produce other tiled LCMAP auxiliary products.

About

Tooling for creating the auxiliary datasets needed in LCMAP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published