Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    • "ID" contains the actual variable name. Consistent naming of the variables across all files (netCDF, JSON, text) is crucial. 
      • For BC variables the ID must correspond to the FEWS ID of a variable in the hazardbc.nc file.
      • For R variables the ID points to a text file of the the same filename.
      • For H variables the name has two parts divided by an a single underscore. The first part indicates the type of local hazard and must correspond to the FEWS ID of a variable in the hazard.nc file. The second part indicates for which receptor this is calculated and must correspond to a receptor ID. 
      • For I variables the name again has two parts divided by an a single underscore, indicating the type of impact and the receptor affected. Both parts reappear in the vulnerabilites.json
      • For M variables there are no special requirements as yet.
    • "title" is what is displayed in Genie. It may contain spaces, but () are not allowed. Instead [] have to be used.
    • "bins" is an array containing the bin values itself or the interval boundaries for each bin depending on the value in "nobins". The values can either be numeric or a string starting with a letter without any spaces.
    • "nobins" is an integer defining the number of bins (or states) in the BN. If "nobins" equals the length of the "bins" array, each value in "bins" is a bin. If "nobins" is one smaller that the length of the "bins" array, the values in "bins" are taken to be the interval boundaries of each bin.
    • "parents" is an array of the "ID"s of parent variables or "None".
    • (optional:) "aggregation" describes the method by which data will be extracted from netCDF files. This is only relevant for hazard variables. It can have either "max" or "mean" as a value, indicating whether the average or maximum value of surrounding hydraulic grid points should be computed.

...