Skip to content

Geographically aware estimates of remotely sensed water properties for Chesapeake Bay

License

Notifications You must be signed in to change notification settings

DOE-ICoM/geowq-chesapeake

Repository files navigation

Geographically aware estimates of remotely sensed water properties for Chesapeake Bay

Paper DOI Code DOI Data DOI

Code for the publication:

Stachelek, J., Avendaño, S., Schwenk, J., 2022. Geographically aware estimates of remotely sensed water properties for Chesapeake Bay. Journal of Applied Remote Sensing. https://doi.org/10.1117/1.JRS.16.044528

Products

Setup

Software

conda env create -f environment.yml

Data

  • Locate the observational data file all_data.csv (download from figshare if necessary)

  • Sync its path with the location defined in data/params.csv

Usage

Generate training data

# the following chunk executes scripts/00_get_data.py
make data_aggregated_gee_csv
# manually upload aggregated_gee.csv to GEE
# manually download results to data/unique_pixeldays_w_bandvals.csv
make data_aggregated_w_bandvals_csv

# add freshwater influence predictor
make data_w_fwi

Train RF model

# variable selection + initial fitting
make data/X_train_salinity.pkl

# hyperparameter tuning
make data/rf_random_salinity.pkl

Pull prediction data

python scripts/03_get_data_predict.py --date "2022-09-04"

Generate prediction surfaces

python scripts/04_rf_predict.py --date "2022-09-04" --variable salinity --var_col "SSS (psu)"
python scripts/04_rf_predict.py --date "2022-09-04" --variable turbidity --var_col "turbidity (NTU)"
python scripts/04_rf_predict.py --date "2022-09-04" --variable temperature --var_col "SST (C)"

Release

This software has been approved for open source release and has been assigned identifier C23002.

Copyright

© 2022. Triad National Security, LLC. All rights reserved. This program was produced under U.S. Government contract 89233218CNA000001 for Los Alamos National Laboratory (LANL), which is operated by Triad National Security, LLC for the U.S. Department of Energy/National Nuclear Security Administration. All rights in the program are reserved by Triad National Security, LLC, and the U.S. Department of Energy/National Nuclear Security Administration. The Government is granted for itself and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide license in this material to reproduce, prepare derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so.