{"version":"1.0","type":"rich","title":"Generating random raster landscapes for generating performance benchmarking cases","description":"This example generates 500 discrete and 500 continuous random raster landscapes as ASCII grid files for performance benchmarking. It uses the `nlmpy.mpd` function to create midpoint displacement neutral landscape models, then classifies the discrete layers with `nlmpy.classifyArray` and random integer thresholds. Each raster is exported with `nlmpy.exportASCIIGrid`, including randomized georeferencing metadata via a lambda function that jitters the corner coordinates. The code relies on NumPy’s seeded random number generator and Python’s `random` module to ensure reproducible but varied outputs across the 100×100 cell grids.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-982d0d0959dc1931de7f99b0d79b2f30?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}