A counter to use when adding attachments to make sure that the names are unique.
An array of files that can be used in place of regular files in the simulation. Stores both a filename and the file contents.
Optional user comments about the job.
Settings that define which units will be used when data is exported in summary or statistics files.
Files that are needed as input for the job.
Options concering how to run the job, not related directly to scenarios or fire growth.
Files that will be output from the job.
Details of a service to stream output files to after all simulations have completed.
Settings that modify W.I.S.E.'s behaviour at the end of each timestep.
Add a file attachment to the project. Attachments can be used anywhere a filename would be used.
The name of the file to attach. Must be a valid Windows filename. See validateFilename
The file contents. Must still be valid if streamed to a file with UTF-8 encoding.
Will return false if the filename is not valid, otherwise the URL to use as the filename when referencing the attachment will be returned.
Add a weather grid for wind directions to the project.
The grids start time. If a string is used it must be formatted as "YYYY-MM-DDThh:mm:ss".
The grids start time of day. If a string is used it must be formatted as "hh:mm:ss".
The grids end time. If a string is used it must be formatted as "YYYY-MM-DDThh:mm:ss".
The grids end time of day. If a string is used it must be formatted as "hh:mm:ss".
An optional user created comment to attach to the weather grid.
WeatherGrid
Add a new asset using a shapefile.
The location of the shapefile to use as the shape of the asset.
Any user defined comments for the asset. Can be null if there are no comments.
Add a fuel break to the project.
The file location of the fuel break. Can either be the actual file path or the attachment URL returned from addAttachment
An optional user created comment to attach to the fuel break.
Add a file fuel patch to the job.
The location of the shape file. Can either be the actual file path or the attachment URL returned from addAttachment
The fuel to change from. Can either be one of the rules defined in FuelPatch (FROM_FUEL_*) or the name of a fuel.
The name of the fuel to change to.
An optional user created comment to attach to the fuel patch.
Add an ignition from a file.
The location of the ignitions file. Can either be the actual file path or the attachment URL returned from addAttachment
The ignitions start time.
An optional user created comment to attach to the ignition.
Ignition
Add a new target using a shapefile.
The location of the shapefile to use as the shape of the target.
Any user defined comments for the target. Can be null if there are no comments.
Add a weather patch from a file.
The location of the file containing the patches location. Can either be the actual file path or the attachment URL returned from addAttachment
The patch start time. If a string is used must be formatted as "YYYY-MM-DDThh:mm:ss".
The patches start time of day. If a string is used it must be formatted as "hh:mm:ss".
The patch end time. If a string is used must be formatted as "YYYY-MM-DDThh:mm:ss".
The patches end time of day. If a string is used it must be formatted as "hh:mm:ss".
An optional user created comment to attach to the weather patch.
WeatherPatch
Add a grid file to the project.
The location of the grid file. Can either be the actual file path or the attachment URL returned from addAttachment
The location of the grid files projection.
Must be one of the GridFile::TYPE_* values.
Add a grid file to the project.
The location of the grid file. Can either be the actual file path or the attachment URL returned from addAttachment
The location of the grid files projection.
Must be one of the GridFile::TYPE_* values.
A user comment to add to the grid file.
Add a landscape fuel patch to the job.
The fuel to change from. Can either be one of the FromFuel wildcard rules or the name of a fuel.
The name of the fuel to change to.
An optional user created comment to attach to the fuel patch.
Add a landscape weather patch.
The patch start time. If a string is used it must be formatted as "YYYY-MM-DDThh:mm:ss".
The patches start time of day. If a string is used it must be formatted as "hh:mm:ss".
The patch end time. If a string is used it must be formatted as "YYYY-MM-DDThh:mm:ss".
The patches end time of day. If a string is used it must be formatted as "hh:mm:ss".
An optional user created comment to attach to the weather patch.
WeatherPatch
Add a grid file output to a scenario.
The statistic to output.
The name of the output file. Can either be the actual file path or the attachment URL returned from addAttachment
The simulation time to output the file at.
The interpolation method to use.
The scenario to output the data for.
Output_GridFile
Add a stats file to a scenario. If you want to set the type of file exported instead of relying on the file extension use the {@code fileType} parameter of the returned object.
The scenario to add the stats file to.
The name of the file to output to.
The newly created stats file export.
Add a summary output file to a scenario.
The scenario to add the summary file to.
The name of the file to output to. Can either be the actual file path or the attachment URL returned from addAttachment
Add a vector file output to a scenario.
Either 'SHP' or 'KML'.
The name of the output file. Can either be the actual file path or the attachment URL returned from addAttachment
The time to start output of the perimeter.
The time to stop output of the perimeter.
The scenario to output the data for.
VectorFile
Add an ignition from a single point. If this is to be a multipoint more points can be added to the returned object using {@link Ignition#addPoint}.
The location of the ignition.
The ignitions start time.
An optional user created comment to attach to the ignition.
Ignition
Add a new target using a single point.
The lat/lon of the target.
Any user defined comments for the target. Can be null if there are no comments.
Add a polygon fuel patch to the job.
The vertices of the polygon. Must be an array of LatLon values. The LatLon values will be copied by reference.
The fuel to change from. Can either be one of the rules defined in FuelPatch (FROM_FUEL_*) or the name of a fuel.
The name of the fuel to change to.
An optional user created comment to attach to the fuel patch.
Add a new target using a polygon.
An array of lat/lons that make up the polygon.
Any user defined comments for the target. Can be null if there are no comments.
Add a weather patch from an array of vertices of a polygon.
The vertices of the polygon.
The patch start time. If a string is used it must be formatted as "YYYY-MM-DDThh:mm:ss".
The patches start time of day. If a string is used it must be formatted as "hh:mm:ss".
The patch end time. If a string is used it must be formatted as "YYYY-MM-DDThh:mm:ss".
The patches end time of day. If a string is used it must be formatted as "hh:mm:ss".
An optional user created comment to attach to the weather patch.
WeatherPatch
Add a new asset using a polyline. A buffer around the line can be created using the {@code buffer} property.
An array of lat/lons that make up the polyline.
Any user defined comments for the asset. Can be null if there are no comments.
Add a fuel break to the project.
The vertices of the polyline. Must be an array of LatLon values. The LatLon values will be copied by reference.
The width of the fuel break.
An optional user created comment to attach to the fuel break;
Add a new target using a polyline.
An array of lat/lons that make up the polyline.
Any user defined comments for the asset. Can be null if there are no comments.
Add a scenario to the job.
The start time of the scenario. If a string is used it must be formatted as 'YYYY-MM-DDThh:mm:ss'.
The end time of the scenario. If a string is used it must be formatted as 'YYYY-MM-DDThh:mm:ss'.
An optional user created comment to attach to the scenario.
Add a weather grid for wind speeds to the project.
The grids start time. If a string is used it must be formatted as "YYYY-MM-DDThh:mm:ss".
The grids start time of day. Must be formatted as "hh:mm:ss".
The grids end time. If a string is used it must be formatted as "YYYY-MM-DDThh:mm:ss".
The grids end time of day. Must be formatted as "hh:mm:ss".
An optional user created comment to attach to the weather grid.
WeatherGrid
Add a weather station to the project.
The elevation of the weather station.
The location of the weather station.
An optional user created comment to attach to the weather station.
WeatherStation
Sends the job to the job manager for execution.
A StartJobWrapper that contains the name of the newly started job as well as the current WISE object.
Get a list of errors that exist in the current W.I.S.E. configuration.
A list of errors that were found.
Clear the stream output files for the MQTT connection.
Clears the timezone for all specified times.
Are the input and output values for the job valid.
Remove an asset from the job. This will not remove it from any scenarios that it may be associated with.
The asset to remove.
Remove a FuelBreak object from the fuel break files.
The FuelBreak object to remove
A boolean indicating if the object was found and removed
Remove a FuelOption object from the input fuel options.
The FuelOption object to remove
A boolean indicating if the object was found and removed
Remove a FuelPatch object from the fuel patch files.
The FuelPatch object to remove
A boolean indicating if the object was found and removed
Remove a GridFile object from the grid files.
The GridFile object to remove
A boolean indicating if the object was found and removed
Remove an Ignition object from the ignitions.
The Ignition object to remove
A boolean indicating if the object was found and removed
Removes the output grid file from a scenario
Remove a stats file from a scenario.
The stats file to remove.
Removes the output summary file from a scenario
Removes the output vector file from a scenario
Remove a Scenario object from the scenarios.
The Scenario object to remove
A boolean indicating if the object was found and removed
Remove an target from the job. This will not remove it from any scenarios that it may be associated with.
The target to remove.
Remove a WeatherGrid object from the weather grid files.
The WeatherGrid object to remove
A boolean indicating if the object was found and removed
Remove a WeatherPatch object from the weather patch files.
The WeatherPatch object to remove
A boolean indicating if the object was found and removed
Remove a WeatherStation object from the weather stations.
The WeatherStation object to remove
A boolean indicating if the object was found and removed
Set the crown base height.
The fuel type to set the crown base height for. Must be C-1, C-6, NZ-60, NZ-61, NZ-66, NZ-67, or NZ-71.
The crown base height (m).
Set the crown fuel load in kg/m^2.
The fuel type to set the crown fuel load for. Must be C-1, C-6, NZ-60, NZ-61, NZ-66, NZ-67, or NZ-71.
The crown fuel load (kg/m^2).
Set the default FMC value for the fuel map. This value can be overridden by scenarios.
The default FMC value. Set to -1 to disable.
Set the elevation grid file. An elevation grid file is optional. An exception will be thrown if the file does not exist.
Can either be the actual file path or the attachment URL returned from addAttachment
Set the fuel map file. This file is required. An exception will be thrown if the file does not exist.
Can either be the actual file path or the attachment URL returned from addAttachment
Set the grass curing for the O-1a, O-1b, NZ-2, NZ-15, NZ-30, NZ-31, NZ-32, NZ-33, NZ-40, NZ-41, NZ-43, NZ-46, NZ-50, NZ-53, NZ-62, NZ-63, or NZ-65 fuel type. If unset, this also sets the grass fuel load to 0.35kg/m^2.
The fuel type to set the grass curing for.
The grass curing (0 - 100%).
Set the grass fuel load for either the O-1a, O-1b, NZ-2, NZ-15, NZ-30, NZ-31, NZ-32, NZ-33, NZ-40, NZ-41, NZ-43, NZ-46, NZ-50, NZ-53, NZ-62, NZ-63, or NZ-65 fuel type. If unset, this also sets the grass curing to 60%.
The fuel type to set the grass fuel load for.
The grass fuel load (kg/m^2).
Set the LUT using an array of fuel definitions. Replaces any existing LUT. One of this and setLutFile must be used but they cannot be used together.
A list of fuel definitions to use as the LUT table.
An optional filename that will be used as a placeholder in the FGM for the LUT.
False if the fuel definitions were not able to be added, the attachment name if setting the LUT was successful.
Set the look up table. Replaces any existing LUT. One of this and setLutDefinition must be used but they cannot be used together. An exception will be thrown if the file does not exist.
Set the percent conifer for the M-1, M-2, NZ-54, or NZ-69 fuel type.
The fuel type to set the percent conifer for. Must be M-1, M-2, NZ-54, or NZ-69.
The percent conifer as a percent (0 - 100%).
Set the percent dead fir for either the M-3 or M-4 fuel type.
The fuel type to set the percent dead fir for. Must be either M-3 or M-4.
The percent dead fir as a percent (0 - 100%).
Set the projection file. This file is required. An exception will be thrown if the file does not exist.
Specify the timezone for all specified times.
The hour offset from UTC.
Whether the offset is for daylight savings time or not.
Specify the timezone for all specified times by name. Must be one of the names
provided by the timezone classes getTimezoneNameList()
function.
The value associated with the time zone.
Stream output files to a GeoServer instance. Currently only GeoTIFF files can be streamed to GeoServer.
The username to authenticate on the GeoServer instance with.
The password to authenticate on the GeoServer instance with. WARNING: the password will be stored in plain text.
The URL of the GeoServer instance. The web interface should be at {url}/web.
The name of the workspace to upload the file to. If the workspace doesn't exist it will be created.
A prefix on the filename that will be used when creating the coverage store. The full coverage store name will be "coverageStore_filename" or just "filename" if coverageStore is an empty string.
The declared spatial reference system of the uploaded file. If not provided the uploaded coverage will not be enabled.
Stream output files to the MQTT connection.
Unset the elevation grid file
Unset the fuel map file.
Unset the look up table.
Unset the projection file.
Unset the timezone for all specified times by name.
Test the validity of a filename.
The filename to test for validity.
Sends the job to the job manager for validation. The job won't run completely until the user issues the rerun command later.
A StartJobWrapper that contains the name of the newly started job as well as the current WISE object.
The top level class where all information required to run a W.I.S.E. job will be stored.
"Travis Redpath"