Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions dist/example_job.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/example_job.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wiseGlobals.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/wiseGlobals.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wiseInterface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3102,7 +3102,7 @@ export declare enum StatsFileType {
JSON_COLUMN = 3
}
/**
* An output file to mimic the Prometheus stats view. Contains
* An output file to mimic the W.I.S.E. stats view. Contains
* stats from each timestep of a scenarios simulation.
*/
export declare class StatsFile {
Expand Down
8 changes: 4 additions & 4 deletions dist/wiseInterface.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/wiseInterface.js.map

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions src/example_job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ function buildDogribLUT(): Array<fuels.FuelDefinition> {
//fetch the default settings for some parameters from W.I.S.E. Builder
let jDefaults = await new defaults.JobDefaults().getDefaultsPromise();

globals.WISELogger.getInstance().info('Building Prometheus job.');
globals.WISELogger.getInstance().info('Building W.I.S.E. job.');
//set this to the location of the test files folder.
let prom = new wise.WISE();
//add the projection and elevation files as attachments
Expand Down Expand Up @@ -720,11 +720,6 @@ function buildDogribLUT(): Array<fuels.FuelDefinition> {
osf1.outputs.outputWxPatches = true;
osf1.outputs.outputWxStreams = true;

//stream output files to the MQTT connection
//prom.streamOutputToMqtt();
//stream output files to a GeoServer instance
//prom.streamOutputToGeoServer("admin", "password", "192.168.0.178:8080/geoserver", "prometheus", "prometheus_store", "EPSG:4326");

//test to see if all required parameters have been set
let errors = prom.checkValid();
if (errors.length > 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/wiseGlobals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2081,7 +2081,7 @@ export class VectorMetadata {
public checkValid(): Array<ValidationError> {
const errs = new Array<ValidationError>();
if (this.version == null) {
errs.push(new ValidationError("version", "Whether the Prometheus version metadata should be exported or not has not been set.", this));
errs.push(new ValidationError("version", "Whether the W.I.S.E. version metadata should be exported or not has not been set.", this));
}
if (this.scenName == null) {
errs.push(new ValidationError("scenName", "Whether the scenario name metadata should be exported or not has not been set.", this));
Expand Down
2 changes: 1 addition & 1 deletion src/wiseInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6459,7 +6459,7 @@ export enum StatsFileType {
}

/**
* An output file to mimic the Prometheus stats view. Contains
* An output file to mimic the W.I.S.E. stats view. Contains
* stats from each timestep of a scenarios simulation.
*/
export class StatsFile {
Expand Down