Skip to content

Commit

Permalink
deploy: 98b3d4c
Browse files Browse the repository at this point in the history
  • Loading branch information
ciatph committed Sep 12, 2024
1 parent 6efeb60 commit b6ec01e
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
Binary file added diagrams/ph-municipalities-arch-90.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
136 changes: 136 additions & 0 deletions diagrams/ph-municipalities-arch.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
<mxfile host="Electron" modified="2024-09-01T14:04:50.967Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.0.3 Chrome/114.0.5735.289 Electron/25.8.4 Safari/537.36" etag="ThfDfPcefII_-JO3I4W5" version="22.0.3" type="device">
<diagram name="Page-1" id="PT_rIEPRiHDDqEcKwNWF">
<mxGraphModel dx="2268" dy="828" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="N0Y9xDM0efUduAB5_r4A-98" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="-650" y="335" width="200" height="326" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-60" value="" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" parent="1" vertex="1">
<mxGeometry x="-200" y="158" width="140" height="195" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-73" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="N0Y9xDM0efUduAB5_r4A-1" target="N0Y9xDM0efUduAB5_r4A-63" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-126" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;dashed=1;endArrow=none;endFill=0;" parent="1" source="N0Y9xDM0efUduAB5_r4A-1" target="N0Y9xDM0efUduAB5_r4A-98" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-1" value="ExcelFile / ExcelFactory&lt;br&gt;(class)" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="-545" y="225" width="150" height="60" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-4" value="PAGASA 10-day Excel file&lt;br&gt;(local cache)" style="whiteSpace=wrap;html=1;shape=mxgraph.basic.document" parent="1" vertex="1">
<mxGeometry x="-180" y="203" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-5" value="PAGASA 10-day Excel file&lt;br&gt;(remote)" style="whiteSpace=wrap;html=1;shape=mxgraph.basic.document" parent="1" vertex="1">
<mxGeometry x="-180" y="273" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-10" value="" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="-570" y="30" width="200" height="70" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-25" value="PAGASA seasonal settings&lt;br&gt;(region - province names)" style="html=1;verticalLabelPosition=middle;align=left;labelBackgroundColor=#ffffff;verticalAlign=middle;strokeWidth=2;strokeColor=#0080F0;shadow=0;dashed=0;shape=mxgraph.ios7.icons.settings;labelPosition=right;spacingLeft=6;" parent="1" vertex="1">
<mxGeometry x="-560" y="42" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-62" value="load()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="-338" y="240.5" width="70" height="30" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-74" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=classic;startFill=1;dashed=1;" parent="1" source="N0Y9xDM0efUduAB5_r4A-63" target="N0Y9xDM0efUduAB5_r4A-10" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-78" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="N0Y9xDM0efUduAB5_r4A-63" target="N0Y9xDM0efUduAB5_r4A-62" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-63" value="init()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="-505" y="148" width="70" height="30" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-76" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;dashed=1;startArrow=classic;startFill=1;" parent="1" source="N0Y9xDM0efUduAB5_r4A-62" target="N0Y9xDM0efUduAB5_r4A-60" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-77" value="Data Sources" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="-175" y="163" width="90" height="20" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-80" value="" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" parent="1" vertex="1">
<mxGeometry x="-373" y="353" width="140" height="227" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-81" value="Stored Data" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="-349" y="359" width="90" height="20" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-83" value="Processed province / municipality&lt;br&gt;names" style="whiteSpace=wrap;html=1;shape=mxgraph.basic.document" parent="1" vertex="1">
<mxGeometry x="-352" y="400" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-84" value="Raw Excel data&lt;br&gt;(JSON)" style="whiteSpace=wrap;html=1;shape=mxgraph.basic.document" parent="1" vertex="1">
<mxGeometry x="-352" y="470" width="100" height="40" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-85" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="N0Y9xDM0efUduAB5_r4A-62" target="N0Y9xDM0efUduAB5_r4A-80" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-87" value="listRegions()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="-630" y="378" width="160" height="30" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-88" value="listAllProvinces()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="-630" y="428" width="160" height="30" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-116" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="N0Y9xDM0efUduAB5_r4A-89" target="N0Y9xDM0efUduAB5_r4A-108" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-89" value="listMunicipalities()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="-630" y="478" width="160" height="30" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-90" value="writeMuniicipalities()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="-630" y="528" width="160" height="30" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-91" value="get()*" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="-630" y="578" width="160" height="30" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-92" value="PAGASA seasonal settings" style="whiteSpace=wrap;html=1;shape=mxgraph.basic.document" parent="1" vertex="1">
<mxGeometry x="-352" y="520" width="100" height="40" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-96" value="Class Methods" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="-610" y="342" width="110" height="30" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-99" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0;entryDx=0;entryDy=64.25;entryPerimeter=0;dashed=1;startArrow=classic;startFill=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;" parent="1" source="N0Y9xDM0efUduAB5_r4A-98" target="N0Y9xDM0efUduAB5_r4A-80" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-106" value="province list" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.direct_data;whiteSpace=wrap;spacingRight=20;" parent="1" vertex="1">
<mxGeometry x="-830" y="432.5" width="120" height="43" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-107" value="region list" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.direct_data;whiteSpace=wrap;spacingRight=20;" parent="1" vertex="1">
<mxGeometry x="-830" y="372" width="120" height="43" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-108" value="municipality list" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.direct_data;whiteSpace=wrap;spacingRight=20;" parent="1" vertex="1">
<mxGeometry x="-830" y="497.5" width="120" height="43" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-109" value="municipality list&lt;br&gt;JSON" style="whiteSpace=wrap;html=1;shape=mxgraph.basic.document" parent="1" vertex="1">
<mxGeometry x="-815" y="562" width="90" height="60" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-111" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="N0Y9xDM0efUduAB5_r4A-87" target="N0Y9xDM0efUduAB5_r4A-107" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-112" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="N0Y9xDM0efUduAB5_r4A-88" target="N0Y9xDM0efUduAB5_r4A-106" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-118" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="N0Y9xDM0efUduAB5_r4A-90" target="N0Y9xDM0efUduAB5_r4A-109" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-119" value="(other class methods)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-615" y="631" width="130" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-134" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" parent="1" source="N0Y9xDM0efUduAB5_r4A-121" target="N0Y9xDM0efUduAB5_r4A-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-121" value="NPM script&lt;br&gt;list:province" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="1" vertex="1">
<mxGeometry x="-730" y="244" width="130" height="52" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-133" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" parent="1" source="N0Y9xDM0efUduAB5_r4A-130" target="N0Y9xDM0efUduAB5_r4A-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="N0Y9xDM0efUduAB5_r4A-130" value="NPM script&lt;br&gt;list:region" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;" parent="1" vertex="1">
<mxGeometry x="-730" y="158" width="130" height="52" as="geometry" />
</mxCell>
<mxCell id="TCGjmAS6vqn2CbgTyII8-1" value="&lt;font color=&quot;#adadad&quot; style=&quot;font-size: 12px;&quot;&gt;/config/regions.json&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-532" y="74" width="122" height="20" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

0 comments on commit b6ec01e

Please sign in to comment.