<commit_before>Code for a paper with working title: "From offshore to onshore PTHA: Efficient Monte-Carlo sampling"
-----------------------------------------------------------------------------------------------------

This folder contains application code used for our manuscript on Monte-Carlo sampling for PTHA. The directories are:

* [./elevation](./gauges) -- Intended to contain elevation data used for modelling (rasters not included here).

* [./gauges](./gauges) -- Tide-gauge data used for model testing, and gauge locations stored by the model.

* [./optimal_sampling](./optimal_sampling) -- A script that implements the offshore analysis of various Monte-Carlo schemes (prior to high-resolution inundation simulation). It creates Figures 2,3,4,5,6,7,8 from the paper (and many others that are not used in the paper). It also reports various statistics.

* [./sources](./sources) -- Code to select the particular set of random scenarios that were used for the onshore PTHA computations. Also information on the source-models used for comparison with historic events. 

* [./swals](./swals) -- The tsunami model application code. This can be run after all the random source models have been created [using the code here](./sources/random/). As well as making simulations for all random scenarios, the code in this folder produces plots of the model domain and the comparison with historical events, which were manually combined to make Figure 9 of the paper.

* [./analysis](./analysis) -- Probabilistic computations using the high-resolution model outputs. This can be run after all the simulations in the [./swals](./swals) directory are completed, and make Figures 10, 11, 12 in the paper.

* [./regional_setting](./regional_setting) -- Code to make panels of Figure 1 in the paper (which were manually combined).


While intending to make the analysis transparent the code here is application-specific. Non-trivial edits would be required to run on other machines, or adapt to other problems. The code was mostly run on [NCI's Gadi computer](https://nci.org.au/our-systems/hpc-systems), and our job-submission and module-loading scripts are specific to that machine. Some of our R scripts also include hard-coded links to data that exists on the machines we used, but cannot be provided here. <commit_msg>updates<commit_after>Code for a paper with working title: "From offshore to onshore PTHA: Efficient Monte-Carlo sampling"
-----------------------------------------------------------------------------------------------------

This folder contains application code used for our manuscript on Monte-Carlo sampling for PTHA. The directories are:

* [./elevation](./gauges) -- Intended to contain elevation data used for modelling (rasters not included here).

* [./gauges](./gauges) -- Tide-gauge data used for model testing, and gauge locations stored by the model.

* [./optimal_sampling](./optimal_sampling) -- A script that implements the offshore analysis of various Monte-Carlo schemes (prior to high-resolution inundation simulation). It creates Figures 2,3,4,5,6,7,8 from the paper (and many others that are not used in the paper). It also reports various statistics which summarise the performance of different Monte-Carlo schemes.

* [./sources](./sources) -- Code to select the particular set of random scenarios that were used for the onshore PTHA computations. Also information on the source-models used for comparison with historic events. 

* [./swals](./swals) -- The tsunami model application code. This can be run after all the random source models have been created [using the code here](./sources/random/). As well as making simulations for all random scenarios, the code in this folder produces plots of the model domain and the comparison with historical events, which were manually combined to make Figure 9 of the paper.

* [./analysis](./analysis) -- Probabilistic computations using the high-resolution model outputs. This can be run after all the simulations in the [./swals](./swals) directory are completed, and make Figures 10, 11, 12 in the paper.

* [./regional_setting](./regional_setting) -- Code to make panels of Figure 1 in the paper (which were manually combined).


While intending to make the analysis transparent the code here is application-specific. Non-trivial edits would be required to run on other machines, or adapt to other problems. The code was mostly run on [NCI's Gadi computer](https://nci.org.au/our-systems/hpc-systems), and our job-submission and module-loading scripts are specific to that machine. Some of our R scripts also include hard-coded links to data that exists on the machines we used, but cannot be provided here. 
{'fraction_non_alphanumeric': 0.1147052564375399, 'fraction_numerical': 0.00638433709299851, 'mean_word_length': 3.4933078393881454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1350944', 'n_tokens_mistral': 1165, 'n_tokens_neox': 1088, 'n_words': 616}