-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
151 additions
and
69 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
Auto Generated Documentation | ||
============================ | ||
|
||
|
||
Pipeline | ||
======== | ||
.. automodule:: hazimp.pipeline | ||
:members: | ||
|
||
Context | ||
======= | ||
.. automodule:: hazimp.context | ||
:members: | ||
|
||
Templates | ||
========= | ||
.. automodule:: hazimp.templates | ||
:members: | ||
|
||
Aggregate | ||
========= | ||
.. automodule:: hazimp.aggregate | ||
:members: | ||
|
||
|
||
|
||
Miscellaneous | ||
============= | ||
.. automodule:: hazimp.misc | ||
Auto Generated Documentation | ||
============================ | ||
|
||
|
||
Pipeline | ||
-------- | ||
.. automodule:: hazimp.pipeline | ||
:members: | ||
|
||
Context | ||
------- | ||
.. automodule:: hazimp.context | ||
:members: | ||
|
||
Templates | ||
--------- | ||
.. automodule:: hazimp.templates | ||
:members: | ||
|
||
Aggregate | ||
--------- | ||
.. automodule:: hazimp.aggregate | ||
:members: | ||
|
||
Raster | ||
------ | ||
.. automodule:: hazimp.raster | ||
:members: | ||
|
||
Miscellaneous | ||
------------- | ||
.. automodule:: hazimp.misc | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
.. _history: | ||
|
||
History | ||
======= | ||
|
||
1.0.0 (2021-03-12) | ||
------------------ | ||
|
||
* Add provenance records | ||
* Add categorisation, tabulation and aggregation | ||
* Implemented AWS S3 download and upload funcitonality. Also allow the configuration file to be stored on S3 as well. | ||
* Update hazimp-tests.yml - add coveralls, remove flake8 and pytest install | ||
* Calculate percentages of assets in damage state tabulation | ||
* Updates to documentation (user guide and in-code) | ||
* Add NRML schema from https://github.com/gem/oq-nrmllib/tree/master/openquake/nrmllib/schema | ||
* Validate xml-format vulnerability files prior to execution | ||
* Add support for configuring choropleth aggregation fields via the configuration file | ||
* Add aggregation functions to provenance statement | ||
* Add support for generic 'hazard_raster' to wind templates | ||
* Switched template instantiation to use config dictionary, removed use of config list | ||
* Update find_attributes to use config dictionary for locating attributes, and support lookup via a ordered list of keys to ease deprecation | ||
* add domestic eq vulnerability curves in MMI (#35) | ||
* Increase unit test coverage (#36) | ||
* Update to NRML 0.5 schema | ||
* Add EQ template and example | ||
* Split templates into new module separated by hazard type | ||
* Enable hazard_raster attribute_label to be configured | ||
* Improve memory usage for large raster input: No longer reads the entire raster into memory, reads only the cells defined in the exposure data, removed the ability to pass an in-memory array via 'from_array' and added a 'ThreadPoolExecutor' for some performance improvement when reading hazard data for large exposure datasets | ||
* Change default aggregate output format to GeoJSON (#42) | ||
|
||
|
||
0.6 (2020-08-13) | ||
---------------- | ||
|
||
* WIP: First steps on provenance - Initially only implemented in the wind_nc and wind_v5 templates, but several of the jobs include provenance statements | ||
* Add provenance for aggregation file | ||
* Add categorisation and tabulation (pivot table) | ||
* Adding some basic documentation for new functions | ||
* Add updated v5 template | ||
* Template file for tcimpact processing | ||
* WIP: PEP8 conformance | ||
* TCRM-47: Implemented S3 download and upload functionality. | ||
* TCRM-47: Allow config file to be from S3 as well. | ||
* TCRM-88: Moving logger.INFO output to stdout from stderr. Fixed compiler warning. | ||
* Documentation updates | ||
* TCRM-90: Reduce memory usage which require 2 times memory for source and destination arrays. (#18) | ||
* Set raster dtype to GDT_Float32: May not necessarily always be correct, however the previous default was integer which worked for the test cases, except when replacing missing values with `numpy.NaN` (which is ostensibly a float value). | ||
* Fix unittest suite by mocking prov module: Patching various methods under `prov.model.ProvDocument` to allow the test suite to run without error. The tests set up a dummyy context, but missed the provenance module, so we're using `mock` to patch the methods that are called in some tests. | ||
|
||
|
||
0.5 (2020-07-09) | ||
---------------- | ||
|
||
* Implement S3 access | ||
|
||
|
||
0.4 (2020-06-29) | ||
---------------- | ||
|
||
* Provenance tracking and aggregation added |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,13 @@ You can either download a zip file containing | |
the HazImp code, or clone the repository (if you have `git` | ||
installed) as follows: | ||
|
||
Using ssh:: | ||
Using ssh: | ||
|
||
.. code-block:: bash | ||
git clone [email protected]:GeoscienceAustralia/hazimp.git | ||
Using HTTPS:: | ||
Using HTTPS: | ||
|
||
.. code-block:: bash | ||
|
@@ -43,7 +43,9 @@ set of compatible packages. conda_ is available for Linux, MacOS and Windows | |
environments. | ||
|
||
Once you have installed miniconda_, create a new environment with a command such | ||
as:: | ||
as: | ||
|
||
.. code-block:: bash | ||
conda create -f hazimp.yml | ||
|
@@ -68,7 +70,7 @@ in `hazimp.yml`. | |
System python install | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
On Ubuntu systems, the following requires system administrator privileges.:: | ||
On Ubuntu systems, the following requires system administrator privileges. | ||
|
||
.. code-block:: bash | ||
|
@@ -80,17 +82,18 @@ On Ubuntu systems, the following requires system administrator privileges.:: | |
Install HazImp | ||
-------------- | ||
|
||
Install HazImp into your python environment:: | ||
Install HazImp into your python environment: | ||
|
||
.. code-block:: bash | ||
python setup.py install | ||
Or, if you are interested in modifying HazImp, the following alternative | ||
install command will instead provide your python environment with links to | ||
the location where you have downloaded the HazImp source:: | ||
the location where you have downloaded the HazImp source: | ||
|
||
.. code-block:: bash | ||
python setup.py develop | ||
Please read the `Contributing code`_ notes if you wish to modify HazImp. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters