Load-data module

The original historical and scenario data is stored in java files "histdata" and "sresdata". This is compressed by the routines in "savedata", to make the binary file data.dat. When the model starts up, "loaddata" simply loads and uncompresses this datafile into specific modules.

Note, the data for the regional climate map are loaded by the RegCliMap Panel


Java Source Code:
  • Histdata.java, SRESdata.java, Savedata.java, Loaddata.java

    Interactions

  • Affects:
    (Historical data) People, Regshares, Oghga, Carbon Radfor Climate,
    (Future scenario data) SRES

    How it works

    Compression method

    For each sequence of data, the maximum and minumum and range are found. Each data item is then converted to one byte, by subtracting the minimum, dividing by the range, and multiplying by 256. So the precision is 0.4% of the range, or one pixel of a typical plot.