fimeval 0.1.56__py3-none-any.whl → 0.1.57__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fimeval
3
- Version: 0.1.56
3
+ Version: 0.1.57
4
4
  Summary: A Framework for Automatic Evaluation of Flood Inundation Mapping Predictions Evaluation
5
5
  Author: Surface Dynamics Modeling Lab
6
6
  Author-email: Supath Dhital <sdhital@crimson.ua.edu>, Dipshika Devi <ddevi@ua.edu>
@@ -680,9 +680,8 @@ Requires-Dist: kaleido==0.2.1
680
680
  Requires-Dist: nbformat<6.0.0,>=5.10.4
681
681
  Requires-Dist: pyproj<4.0.0,>=3.7.0
682
682
  Requires-Dist: notebook<8.0.0,>=7.3.2
683
- Requires-Dist: boto3<2.0.0,>=1.36.16
683
+ Requires-Dist: boto3>=1.40.0
684
684
  Requires-Dist: geemap
685
- Requires-Dist: uv
686
685
  Requires-Dist: seaborn
687
686
  Provides-Extra: dev
688
687
  Requires-Dist: pytest; extra == "dev"
@@ -712,7 +711,7 @@ To address these issues, we developed Flood Inundation Mapping Prediction Evalua
712
711
 
713
712
 
714
713
 
715
- ### **Repository structure**
714
+ ### Repository structure
716
715
  <hr style="border: 1px solid black; margin: 0;">
717
716
 
718
717
  The architecture of the ```fimeval``` integrates different modules to which helps the automation of flood evaluation. All those modules codes are in source (```src``` ) folder.
@@ -744,7 +743,7 @@ The graphical representation of fimeval pipeline can be summarized as follows in
744
743
  </div>
745
744
  Figure 1: Flowchart showing the entire framework pipeline.
746
745
 
747
- ### **Framework Installation and Usage**
746
+ ### Framework Installation and Usage
748
747
  <hr style="border: 1px solid black; margin: 0;">
749
748
 
750
749
  This framework is published as a python package in PyPI (https://pypi.org/project/fimeval/).For directly using the package, the user can install this package using python package installer 'pip' and can import on their workflows:
@@ -765,7 +764,9 @@ import fimeval as fp
765
764
  ```
766
765
  **Note: The framework usage provided in detailed in [Here (docs/fimeval_usage.ipynb)](./docs/fimeval_usage.ipynb)**. It has detail documentation from installation, setup, running- until results.
767
766
 
768
- #### **Main Directory Structure**
767
+ ### Main Directory Structure
768
+ <hr style="border: 1px solid black; margin: 0;">
769
+
769
770
  The main directory contains the primary folder for storing the case studies. If there is one case study, user can directly pass the case study folder as the main directory. Each case study folder must include a Benchmark FIM (B-FIM) with a 'benchmark' word assigned within the B-FIM file and different Model Predicted FIM (M-FIM)
770
771
  in tif format.
771
772
  For mutilple case studies,the main directory could be structure in such a way that contain the seperate folders for individual case studies.For example, if a user has two case studies they should create two seperate folders as shown in the Figure below.
@@ -786,7 +787,7 @@ If user have more precise PWB, they can input their own PWB boundary as .shp and
786
787
  ```bash
787
788
  PWD_dir = Path('./path/to/PWB/vector/file')
788
789
  ```
789
- #### **Methods for Extracting Flood Extents**
790
+ #### Methods for Extracting Flood Extents
790
791
  1. **```smallest_extent```**
791
792
  The framework will first check all the raster extents (benchmark and FIMs). It will then determine the smallest among all the rasters. A shape file will then be created to mask all the rasters.
792
793
 
@@ -816,7 +817,7 @@ method_name = "AOI"
816
817
  AOI = Path('./path/to/AOI/vectorfile')
817
818
  ```
818
819
 
819
- #### **Executing the Evaluation framework**
820
+ #### Executing the Evaluation framework
820
821
  The complete description of different modules, what they are meant for, arguments taken to run that module and what will be the end results from each is described in below **Table 1**. If user import `fimeval` framework as `fp` into workflows, they can call each module mentioned in **Table 1** as `fp.Module_Name(args)`. Here arguments in italic represents the optional field, depending upon the user requirement.
821
822
 
822
823
  Table 1: Modules in `fimeval` are in order of execution.
@@ -834,8 +835,9 @@ Table 1: Modules in `fimeval` are in order of execution.
834
835
  Figure 4: Combined raw output from framework for different two method. First row (subplot a and b) and second row (subplot c and d) is contingency maps and evaluation metrics of FIM derived using `PrintContingencyMaP` and `PlotEvaluationMetrics` module. Third row (subplot e and f) is the output after processing and calculating of evaluation with BF by unsing `EvaluateWithBuildingFoorprint` module.
835
836
 
836
837
  ## Installation Instructions
838
+ <hr style="border: 1px solid black; margin: 0;">
837
839
 
838
- ### 1. Prerequisites
840
+ #### 1. Prerequisites
839
841
 
840
842
  Before installing `fimeval`, ensure the following software are installed:
841
843
 
@@ -849,13 +851,13 @@ Before installing `fimeval`, ensure the following software are installed:
849
851
 
850
852
  ---
851
853
 
852
- ### 2. Install Anaconda
854
+ #### 2. Install Anaconda
853
855
 
854
856
  If Anaconda is not installed, download and install it from the [official website](https://www.anaconda.com/products/distribution).
855
857
 
856
858
  ---
857
859
 
858
- ### 3. Set Up Virtual Environment
860
+ #### 3. Set Up Virtual Environment
859
861
 
860
862
  #### For Mac Users
861
863
 
@@ -873,24 +875,40 @@ uv pip install fimeval
873
875
  ```
874
876
 
875
877
  ### Google Colab Version
878
+ <hr style="border: 1px solid black; margin: 0;">
876
879
 
877
880
  To use fimeval in Google Colab, follow the steps below:
878
881
 
879
- ## Upload Files
882
+ #### Upload Files
880
883
  Upload all necessary input files (e.g., raster, shapefiles, model outputs) to your Google Drive.
881
- ## Open Google Colab
884
+ #### Open Google Colab
882
885
  Go to Google Colab and sign in with a valid Google account.
883
- ## Mount Google Drive
886
+ #### Mount Google Drive
884
887
  In a new Colab notebook, mount the Google Drive
885
888
  ```bash
886
889
  pip install fimeval
887
890
  ```
888
- ### **Acknowledgements**
891
+ ### Citing our work
892
+ <hr style="border: 1px solid black; margin: 0;">
893
+
894
+ - Devi, D., Dipsikha, Supath Dhital, Dinuke Munasinghe, Sagy Cohen, Anupal Baruah, Yixian Chen, Dan Tian, & Carson Pruitt (2025).
895
+ *A framework for the evaluation of flood inundation predictions over extensive benchmark databases.*
896
+ **Environmental Modelling & Software**, 106786.
897
+ https://doi.org/10.1016/j.envsoft.2025.106786
898
+
899
+ - Cohen, S., Baruah, A., Nikrou, P., Tian, D., & Liu, H. (2025).
900
+ *Toward robust evaluations of flood inundation predictions using remote sensing–derived benchmark maps.*
901
+ **Water Resources Research**, 61(8).
902
+ https://doi.org/10.1029/2024WR039574
903
+
904
+ ### Acknowledgements
905
+ <hr style="border: 1px solid black; margin: 0;">
906
+
889
907
  | | |
890
908
  | --- | --- |
891
909
  | ![alt text](https://ciroh.ua.edu/wp-content/uploads/2022/08/CIROHLogo_200x200.png) | Funding for this project was provided by the National Oceanic & Atmospheric Administration (NOAA), awarded to the Cooperative Institute for Research to Operations in Hydrology (CIROH) through the NOAA Cooperative Agreement with The University of Alabama.
892
910
 
893
- ### **For More Information**
911
+ ### For More Information
894
912
  Contact <a href="https://geography.ua.edu/people/sagy-cohen/" target="_blank">Sagy Cohen</a>
895
913
  (sagy.cohen@ua.edu)
896
914
  Dipsikha Devi, (ddevi@ua.edu)
@@ -0,0 +1,21 @@
1
+ fimeval/__init__.py,sha256=0teuordtccJzkqE0Xr9Q-ePd631vC46KOH-9Y5n5dxU,711
2
+ fimeval/setup_benchFIM.py,sha256=3HqhzlKy46Ef1-YiLo5HBKDvj68cqw6CNWSIBTn_T00,1308
3
+ fimeval/utilis.py,sha256=i9NNzZ2AN0oCbyIc1oeKc6YmKdYgT9A5Ab5wB3W2BmE,8284
4
+ fimeval/BenchFIMQuery/__init__.py,sha256=tuylN2ZBjR6ezqG6v4OmlyGcJzaVIj539x_JUKVwjpY,78
5
+ fimeval/BenchFIMQuery/access_benchfim.py,sha256=59-LVNNHWjlJjLiilJyFRF15HwRdCXnlcVuK2Xa56BQ,27701
6
+ fimeval/BenchFIMQuery/utilis.py,sha256=A0q_dQjjG5sk7JpC6lvawj6E1FKUt8LIm5JXi46qkvQ,8543
7
+ fimeval/BuildingFootprint/__init__.py,sha256=oP9YWLdo6ANzSQFxYLv7Ku_26AY5NkLNhZLK28ICMLo,109
8
+ fimeval/BuildingFootprint/evaluationwithBF.py,sha256=3v5dZk7xL9h6emf36Cxlsq5DJ1mYA5FgWpX4i97VPFg,18238
9
+ fimeval/BuildingFootprint/microsoftBF.py,sha256=oWfAr38DYJLxjyJIDgQDOYGwYoIEVL-R_h4EyiQAWlU,4226
10
+ fimeval/ContingencyMap/PWBs3.py,sha256=UFICxO58c2fA9mIffH4ooqphv3ZXe6yX8QzpRjtI6fs,1275
11
+ fimeval/ContingencyMap/__init__.py,sha256=ckps2dyg6aci3TA-3P7oTMcCAcSTz9AA6sndHtZEwdE,259
12
+ fimeval/ContingencyMap/evaluationFIM.py,sha256=-O6aiQdsPOhw5OLQ-m45v8D6LZ58WNE7EG9g27z75Us,18825
13
+ fimeval/ContingencyMap/methods.py,sha256=kbutfo9FUH-yjvnOXxwLpdErUuebMJ8NjCroNWIYCjo,3299
14
+ fimeval/ContingencyMap/metrics.py,sha256=jwOia0Nl7aU7AuGJFAcQ4fVENnp2G_5W6JSJBzo1-_4,1094
15
+ fimeval/ContingencyMap/plotevaluationmetrics.py,sha256=AbR43fnz0mbs5a7o3-ccAj-fa5RRWG4rS3xav58_M-k,4900
16
+ fimeval/ContingencyMap/printcontingency.py,sha256=-1H_Ze2TbRSER7vy7bd0HvxnziNzPPOIPOm2YhB7r4A,5422
17
+ fimeval-0.1.57.dist-info/licenses/LICENSE.txt,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
18
+ fimeval-0.1.57.dist-info/METADATA,sha256=rUf0Gul5YPLzww26KTSzyY21R83qpEoOt0IyeYzwFhA,56941
19
+ fimeval-0.1.57.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
+ fimeval-0.1.57.dist-info/top_level.txt,sha256=F4QW50msI8sRrX_DK3NQ-s3swQ4-2_5Ty3mfm9ZMc6k,8
21
+ fimeval-0.1.57.dist-info/RECORD,,
@@ -1,17 +0,0 @@
1
- fimeval/__init__.py,sha256=HZJKq7XEhL6TnwFkhpf8NcEQ5h7zPQ3XJh3z5gF0gQ8,603
2
- fimeval/utilis.py,sha256=KdU6pSMS8dPf1zFyS-SOUdDSJr87IQ28uSG3ZuVfq1A,6782
3
- fimeval/BuildingFootprint/__init__.py,sha256=oP9YWLdo6ANzSQFxYLv7Ku_26AY5NkLNhZLK28ICMLo,109
4
- fimeval/BuildingFootprint/evaluationwithBF.py,sha256=3v5dZk7xL9h6emf36Cxlsq5DJ1mYA5FgWpX4i97VPFg,18238
5
- fimeval/BuildingFootprint/microsoftBF.py,sha256=73M_e_n_3lsejsnP9eX06hou0sr2-yaWdjuoUwZ8O2Y,4063
6
- fimeval/ContingencyMap/PWBs3.py,sha256=UFICxO58c2fA9mIffH4ooqphv3ZXe6yX8QzpRjtI6fs,1275
7
- fimeval/ContingencyMap/__init__.py,sha256=ckps2dyg6aci3TA-3P7oTMcCAcSTz9AA6sndHtZEwdE,259
8
- fimeval/ContingencyMap/evaluationFIM.py,sha256=zdr55Vc0FzmI4p-8xlWmm92agGdimpWPCVzcCtu4qzU,17349
9
- fimeval/ContingencyMap/methods.py,sha256=kbutfo9FUH-yjvnOXxwLpdErUuebMJ8NjCroNWIYCjo,3299
10
- fimeval/ContingencyMap/metrics.py,sha256=jwOia0Nl7aU7AuGJFAcQ4fVENnp2G_5W6JSJBzo1-_4,1094
11
- fimeval/ContingencyMap/plotevaluationmetrics.py,sha256=AbR43fnz0mbs5a7o3-ccAj-fa5RRWG4rS3xav58_M-k,4900
12
- fimeval/ContingencyMap/printcontingency.py,sha256=-1H_Ze2TbRSER7vy7bd0HvxnziNzPPOIPOm2YhB7r4A,5422
13
- fimeval-0.1.56.dist-info/licenses/LICENSE.txt,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
14
- fimeval-0.1.56.dist-info/METADATA,sha256=2u8hha99stJgzPpGzrU6A4rbgYmD2DRT2lmEuRWchas,56113
15
- fimeval-0.1.56.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
- fimeval-0.1.56.dist-info/top_level.txt,sha256=F4QW50msI8sRrX_DK3NQ-s3swQ4-2_5Ty3mfm9ZMc6k,8
17
- fimeval-0.1.56.dist-info/RECORD,,