nlcdlandcover

Version 1.1.4 (6.53 KB) by Joshua Port
Reads NLCD CONUS land cover files and returns land roughness within the specified region.
30 Downloads
Updated 14 Feb 2024

View License

This function retrieves land roughness from the National Land Cover Database's (NLCD) continental US (CONUS) land cover files, i.e. nlcd_*_land_cover_l48_*.i*. You must download these files from the MRLC website. If you are interested in land cover instead of land roughness, you can easily modify the function to return land_cover instead of land_rough.
NOTE: Due to the map projection, cartesian rows and columns in the NLCD data are not parallel to lines of latitude and longitude. This function does not interpolate the output onto a regular grid. It prioritizes data accuracy over making the output easy to use.

Cite As

Joshua Port (2024). nlcdlandcover (https://www.mathworks.com/matlabcentral/fileexchange/159643-nlcdlandcover), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with R2020a and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired by: usgslandcover(FILE, Wlon, Elon, Slat, Nlat)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.1.4

1.1.3

Added code to GitHub for easier management

1.1.2

Added a type cast so land_rough is appropriately set to NaN outside the target region

1.1.1

A couple minor changes for clarity and simplicity

1.1.0

The function now uses state-specific FEMA Hazus land cover to roughness length mappings. It is also more verbose to make the user more aware of its progress.

1.0.1

Added relevant image to File Exchange page

1.0.0