Saving and Loading

You can save and load your model setup using the icons at the bottom of the menu bar. The data is saved as a json file, which contains the full setup, settings, input maps and last flood output for each activated area. This data is produced and processed locally, and does not come from a server. All the calculations and data-processing for FastFlood occurs on the users machine. Because the model runs in the browser, saving data takes the form of a download, even if no real download is taking place.

FastFlood

Format description

The format is the open JSON type, where each of the items is stored in textual format along with a name. This can be easily parsed by any JSON parsing library. The georaters are not stored in textual format, as this would increase file size by a large factor. Instead, we store each row within the raster file as a base64 encoded sequency of bytes. Each 4 bytes in this sequence represent one floating point number in IEEE 754 format (the default in virtually all applications). Since the format is still undergoing changes, we will publish a standard in the future. We are highly invested in making the format backwards compatible. However, this requires that additional properties added since FastFlood 0.9.1, must be defined with a default value in the read functions.