Giter Site home page Giter Site logo

maruti-iitm / archived_codes_for_sfa_modeling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xuehangsong/archived_codes_for_sfa_modeling

0.0 1.0 0.0 7.71 MB

repo for setting up all SFA groundwater models before 2019

R 40.07% Rebol 1.18% Shell 0.42% Roff 0.01% MATLAB 3.89% Fortran 2.32% Makefile 0.01% Assembly 0.08% Python 6.54% Limbo 0.04% Objective-C 7.26% Jupyter Notebook 0.91% HTML 37.26%

archived_codes_for_sfa_modeling's Introduction

These are the codes I developed for SBR_SFA projects before FY2019. The repo is not only about setting up PFLOTRAN in different ways, there are more components related to geostatistics, data assimilation, and quite a lot of postprocessing codes. I learned recently from the EM related projects that "You did nothing unless you documented what you did". That's true. lol.
Most of the early codes were written using R. I switched more toward Python in the middle. The R codes gradully become legacy to me. However, I believe it can still be useful for others. There're also a lot of Fortran, Matlab, Shell scipts.

What were these codes used for?

These codes were used to support the modeling parts in at least five WRR papers, including
Shuai et al., 2019 doi:10.1029/2018WR024193. 70% of model setup, 40% of postprocessing
Song et al., 2019 doi:10.1029/2018WR023262. 100% of model setup and postprocessing
Dai et al., 2019 doi:10.1029/2018WR023589. 100% of model setup
Song et al., 2018 doi:10.1029/2018WR022586. 100% of model setup and postprocessing
Dai et al., 2019 doi:10.1002/2016WR019756. 80% of model setup
Parts of the codes were also used for supporing data analysis in other papers, such as the wavelet analysis in Zhou et al., 2018 doi:10.1002/2017WR020508.

These codes support lots of presentations related to the groundwater modeling studies in the SFA project in the past 3~4 years.

There codes were used for decision making in designing experiment plan in Hanford 300 Area, such as ERT and aquifer tube arrays.

Who used these code?

I tried to write the codes in general ways, so we can copy pieces of these codes and reuse it in developing similar models by altering serveral parameters. It works well in some ways.

Parts of the codes have been duplicated in developing the HFR-flow notebook. "https://github.com/pnnl-sbrsfa/HFR-flow/." This HFR notebook reorganize the R/Python codes for PFLOTRAN setup, postprocessing and plotting to the form of Jupiter notebook and use it to set up a reach scale pflotran model. Most portion of the Jupiter notebook was taken from this repo, including initial condition/groundwater boundary condition/river boundary/material setup/kriging/mesh development/postprocessing. The HFR notebook uses the codes in "70km_reach_model" also with "setup_1.6km_model_smoothed_boundary","setup_400m_aquifer_tube_model_domain","ert_base_model" as reference.

Parts of the codes are also used as a reference to develop "https://github.com/pnnl-sbrsfa/DA-HEF," Kewei did a great job develop his own codes using Python and make lots of improvements. The initial version is written using R. "1D_flux_data_assimilation".

Future of these codes

This repo is set up as an archive. Nearly 1500 R/Python/Fortran/Shell/Matlab scripts are included in this repo.There are some repeated parts among different codes, although I have tried hard to reduced the number of archived codes. I wrote most of these scripts except all the codes in sensitivity/heng_matlab and some codes in 70km_reach_model. There are still many codes that are developed for a specific purpose but not reused. Such as scripts for fft/wavelet/sensor validation/interpolation, etc., which can potentially be used in the future. These codes are free to share within the project and in the scientific community. Please acknowledge me if you find it is useful. :)

Xuehang 2019/08/02

archived_codes_for_sfa_modeling's People

Contributors

xuehangsong avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.