This pull requests does some significant refactoring of the output modules, allowing the aggregation, diagnostic, and output functionalities to run over 4 times faster.
Changes to functionality
Implements configuration option output_vars to choose which variables to output (resolves #27)
OutputFormat option now can be set for .mat files and .parquet files (resolves #24)
Changes to output
Accounts for unclassified grid cells at the country level -- adds an id 0 for cells that do not map to countries
Changes to structure
Raw and aggregated outputs now written out with single class, OutWriter
Diagnostic output writer encapsulated as a class Diagnostics
Final Components class output data is represented as pandas DataFrame instead of numpy array
This pull requests does some significant refactoring of the output modules, allowing the aggregation, diagnostic, and output functionalities to run over 4 times faster.
Changes to functionality
output_vars
to choose which variables to output (resolves #27)OutputFormat
option now can be set for.mat
files and.parquet
files (resolves #24)Changes to output
unclassified
grid cells at the country level -- adds an id 0 for cells that do not map to countriesChanges to structure
OutWriter
Diagnostics
Components
class output data is represented as pandas DataFrame instead of numpy array