Skip to content
/ STMoran Public

Spatial-temporal Moran's I and forest disturbance.

License

Notifications You must be signed in to change notification settings

delick/STMoran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moran

Calculate spatial-temporal Moran's I and search for forest disturbance.

Dependencies

  • Moran.m function to calculate Moran's I of a given block.
  • Blocking.m function to divide an image into equal blocks.
  • natsort.m & natsortfiles.m function to sort filenames with numbers. Note: Path of dependencies should be included in MATLAB search folder.

Usage

What scripts to run? In what order?

  1. STI_LowMemory.mlx Calculates the spatial temporal Moran's I. (See code for detailed formula.)
  2. DistMarker.mlx Mark the time and place of disturbance. 1 for disturbance, 0 for no disturbance.
  3. StartEndMarker2.mlx Find the starting and ending date of each disturbance. Output image includes year and month images. Set output variables to doy for duration. The default output result can't be used to calculate duration.
  4. Duration.mlx Calculates the duration (in days) of each disturbance.
  5. distMaxDuration.mlx Max and min stats of forest disturbance duration.

Input / output params

Detailed documentations are in *.mlx scripts. They will guide you what to input and how to interpret results.

About

Spatial-temporal Moran's I and forest disturbance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published