Skip to content

Commit

Permalink
Merge pull request #370 from drjfloyd/master
Browse files Browse the repository at this point in the history
UMD SBI - FSRI plots
  • Loading branch information
rmcdermo authored Aug 21, 2023
2 parents cf3c3ad + 3c41945 commit 28b28f0
Show file tree
Hide file tree
Showing 54 changed files with 1,037 additions and 124 deletions.
2 changes: 2 additions & 0 deletions .github/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
numpy
matplotlib
pandas
scipy
seaborn

20 changes: 20 additions & 0 deletions .github/workflows/Fire_Growth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,23 @@ jobs:

# ADD YOUR INSTITUTION BELOW, COPY STEPS 1 AND 2, CHANGE INSTITUTE NAME (AFTER 2023 AND WITHIN ZIP FILENAME)

# When submitting computational results, add your script to the list below (follow the example)

# Step 1: generate the plots
- name: FSRI Preliminary SBI Results
run: |
echo $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE/Fire_Growth/UMD_SBI/Computational_Results/2023/FSRI
python FSRI_SBI_plot_cmp.py
# Step 2: push the plots to the releases page
- name: Push FSRI Results to release
if: github.event_name == 'push' && github.repository_owner == 'MaCFP'
run: |
cd $GITHUB_WORKSPACE/Fire_Growth/UMD_SBI/Computational_Results/2023/FSRI
cp README.md Plots/.
zip Plots.zip -r Plots
mv Plots.zip UMB_SBI_FSRI_Plots.zip
gh release upload SCRIPT_FIGURES UMD_SBI_FSRI_Plots.zip --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env python3
# McGrattan
# Aug 2023

import sys
sys.path.append('../../../../../../macfp-db/Utilities/')

import macfp
import importlib
importlib.reload(macfp) # use for development (while making changes to macfp.py)
import matplotlib.pyplot as plt

macfp.dataplot(config_filename='FSRI_SBI_cmp_config.csv',
institute='FSRI',
revision='MaCFP-3, Tsukuba, 2023',
expdir='../../../Experimental_Data/',
cmpdir='./',
pltdir='./Plots/',
close_figs=True,
verbose=True,
plot_list=['all'])

# plt.show()
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&HEAD CHID='sbi_2cm'/
&HEAD CHID='sbi_2cm_hf'/

&MESH XB=-0.60, 0.40,-0.80, 0.20,-0.18,0.52,IJK=50,50,35,MULT_ID='M1'/
&MULT ID='M1',DX=1.0,DY=1.0,DZ=0.7,I_UPPER=1,J_UPPER=1,K_UPPER=3/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&HEAD CHID='sbi_4cm'/
&HEAD CHID='sbi_4cm_hf'/

&MESH XB=-0.60, 1.40,-0.80, 1.20,-0.20,2.60,IJK=50,50,70/

Expand Down
421 changes: 299 additions & 122 deletions Utilities/macfp.py

Large diffs are not rendered by default.

0 comments on commit 28b28f0

Please sign in to comment.