Skip to content

Commit

Permalink
working on Louisiana
Browse files Browse the repository at this point in the history
  • Loading branch information
webgisdeveloper committed Apr 18, 2024
1 parent 1799d8d commit ea96219
Show file tree
Hide file tree
Showing 9 changed files with 353 additions and 3 deletions.
8 changes: 8 additions & 0 deletions tools/Louisiana2024/Louisiana_State.geojson

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions tools/Louisiana2024/Louisiana_State.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis version="3.22.4-Białowieża">
<identifier></identifier>
<parentidentifier></parentidentifier>
<language></language>
<type>dataset</type>
<title></title>
<abstract></abstract>
<links/>
<fees></fees>
<encoding></encoding>
<crs>
<spatialrefsys>
<wkt></wkt>
<proj4></proj4>
<srsid>0</srsid>
<srid>0</srid>
<authid></authid>
<description></description>
<projectionacronym></projectionacronym>
<ellipsoidacronym></ellipsoidacronym>
<geographicflag>false</geographicflag>
</spatialrefsys>
</crs>
<extent/>
</qgis>
57 changes: 57 additions & 0 deletions tools/Louisiana2024/momoutput_Alert.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
pfaf_id
732900
741002
741003
741004
741005
741006
741007
741008
741009
742100
742210
742221
742222
742223
742224
742225
742226
742227
742228
742229
742231
742232
742233
742234
742235
742236
742237
742238
742239
742301
742302
742303
742304
742305
742306
742307
742308
742309
743001
743002
743003
743004
743005
743006
743007
743008
743009
751100
751201
751202
751203
751204
751205
751206
751207
751300
57 changes: 57 additions & 0 deletions tools/Louisiana2024/momoutput_Flag.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
pfaf_id
732900
741002
741003
741004
741005
741006
741007
741008
741009
742100
742210
742221
742222
742223
742224
742225
742226
742227
742228
742229
742231
742232
742233
742234
742235
742236
742237
742238
742239
742301
742302
742303
742304
742305
742306
742307
742308
742309
743001
743002
743003
743004
743005
743006
743007
743008
743009
751100
751201
751202
751203
751204
751205
751206
751207
751300
57 changes: 57 additions & 0 deletions tools/Louisiana2024/momoutput_Severity.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
pfaf_id
732900
741002
741003
741004
741005
741006
741007
741008
741009
742100
742210
742221
742222
742223
742224
742225
742226
742227
742228
742229
742231
742232
742233
742234
742235
742236
742237
742238
742239
742301
742302
742303
742304
742305
742306
742307
742308
742309
743001
743002
743003
743004
743005
743006
743007
743008
743009
751100
751201
751202
751203
751204
751205
751206
751207
751300
57 changes: 57 additions & 0 deletions tools/Louisiana2024/research_watersheds.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
pfaf_id,area_km2,ISO,Admin0,Admin1,rfr_score,cfr_score
"732900",25644.4379186,USA,United States,Mississippi,0.383963902,0.855857087
"741002",1561.90233724,USA,United States,Mississippi,0.003031536,0
"741003",2267.18673494,USA,United States,Mississippi,1.110377661,2.320247395
"741004",1373.58151539,USA,United States,Mississippi,3.331462692,0.571681191
"741005",9.11819860057,USA,United States,Louisiana,0,0
"741006",20956.4718353,USA,United States,Mississippi,1.674386487,0.067522651
"741007",18.2648356623,USA,United States,Louisiana,2.601300521,4.027547811
"741008",13776.4534231,USA,United States,Louisiana,2.206156334,3.58969456
"741009",2891.75800123,USA,United States,Louisiana,2.320094921,4.038921878
"742100",5490.83962983,USA,United States,Louisiana,3.266945154,4.008260852
"742210",431.532852763,USA,United States,Louisiana,3.889459172,0
"742221",64.5398662195,USA,United States,Louisiana,3.564829938,0
"742222",7792.35983252,USA,United States,Louisiana,0.516387291,0
"742223",408.112194798,USA,United States,Louisiana,3.049867164,0
"742224",5481.66263447,USA,United States,Louisiana,0.84467029,0
"742225",556.480753871,USA,United States,Louisiana,1.617318012,0
"742226",7027.69666023,USA,United States,Louisiana,1.044236612,0
"742227",14251.6653476,USA,United States,Louisiana,2.265160346,0
"742228",8316.71156087,USA,United States,Arkansas,0.134409726,0
"742229",19092.4851791,USA,United States,Arkansas,0.371186903,0
"742231",5507.51409838,USA,United States,Louisiana,2.606914448,0
"742232",3529.54128338,USA,United States,Louisiana,0.098390095,0
"742233",3406.75717999,USA,United States,Louisiana,0.114046844,0
"742234",6688.66564899,USA,United States,Louisiana,0.313026011,0
"742235",242.978038723,USA,United States,Louisiana,2.856368419,0
"742236",9127.5684553,USA,United States,Texas,0.882720932,0
"742237",594.019741361,USA,United States,Louisiana,3.86313421,0
"742238",9809.41279249,USA,United States,Texas,0.278939541,0
"742239",1979.63094325,USA,United States,Arkansas,0.646053014,0
"742301",2025.47994186,USA,United States,Mississippi,0.879309439,0
"742302",3114.91417325,USA,United States,Mississippi,1.021311576,0
"742303",2254.22751973,USA,United States,Mississippi,1.251122862,0
"742304",2789.40455543,USA,United States,Mississippi,0.255547519,0
"742305",354.142068122,USA,United States,Louisiana,1.384365491,0
"742306",8752.35998785,USA,United States,Mississippi,0.445191864,0
"742307",615.278674852,USA,United States,Mississippi,0.362350998,0
"742308",34404.033093,USA,United States,Mississippi,1.16871785,0
"742309",2387.35735258,USA,United States,Mississippi,2.531764914,0
"743001",4264.39056548,USA,United States,Louisiana,3.873614538,4.037382964
"743002",2708.53583143,USA,United States,Louisiana,2.139701979,3.521089776
"743003",3768.9454212,USA,United States,Louisiana,4.002319212,4.01476714
"743004",12077.5903587,USA,United States,Louisiana,3.119659215,3.211429556
"743005",5616.77334098,USA,United States,Louisiana,3.64199562,2.580541853
"743006",7491.540639,USA,United States,Louisiana,3.139304113,1.30979209
"743007",118.236520463,USA,United States,Louisiana,3.915215542,4.006313846
"743008",10198.9581966,USA,United States,Louisiana,1.544042189,2.609063681
"743009",535.131596504,USA,United States,Louisiana,2.172149393,4.021392587
"751100",45.9036953969,USA,United States,Louisiana,0,3.707888333
"751201",64.6338448068,USA,United States,Texas,2.327668546,4.005934558
"751202",1849.41141912,USA,United States,Texas,0.844532758,3.26213548
"751203",231.000481095,USA,United States,Louisiana,2.346035245,3.996523999
"751204",26019.7103343,USA,United States,Texas,0.945713089,1.820362118
"751205",4800.906859,USA,United States,Texas,3.099807671,3.005055677
"751206",1179.29315337,USA,United States,Louisiana,0.068268391,0
"751207",14623.0545128,USA,United States,Texas,0.165333842,0
"751300",1816.25611089,USA,United States,Texas,1.501756058,3.641941633
63 changes: 63 additions & 0 deletions tools/Louisiana2024/research_watersheds.geojson

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions tools/Louisiana2024/research_watersheds.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis version="3.22.4-Białowieża">
<identifier></identifier>
<parentidentifier></parentidentifier>
<language></language>
<type>dataset</type>
<title></title>
<abstract></abstract>
<links/>
<fees></fees>
<encoding></encoding>
<crs>
<spatialrefsys>
<wkt></wkt>
<proj4></proj4>
<srsid>0</srsid>
<srid>0</srid>
<authid></authid>
<description></description>
<projectionacronym></projectionacronym>
<ellipsoidacronym></ellipsoidacronym>
<geographicflag>false</geographicflag>
</spatialrefsys>
</crs>
<extent/>
</qgis>
5 changes: 2 additions & 3 deletions tools/mom_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ def merge_mom(df_ids, momfiles):
def output_geojson(df_ids, momfiles):
"""output geojsons for selected watersheds"""

watersheds_gdb = os.path.expanduser(
"~/Projects/ModelOfModels/VIIRS_Processing/Watershed_pfaf_id.shp"
)
watersheds_gdb = ("../../VIIRS_Processing/Watershed_pfaf_id.shp")

watersheds = gpd.read_file(watersheds_gdb)
watersheds.set_index("pfaf_id", inplace=True)

Expand Down

0 comments on commit ea96219

Please sign in to comment.