Set of python scripts to write netCDF radar data to the MongoDB along with meta data
The conda environment is found in rain_base.yml and currently uses python v3.10
Once the rain_base environment is set install the package module using pip install . from the rain_base directory
test_load_gauge_data.py
Reads a set of Rainfields3 gaugeobs netcdf files and loads them into a mongo database
The mongo db client is assumed to be local and at the default address
test_read_data.py
Tests reading a time series of data from rain gauge
The applications are found in the app directory
load_gauge_data.py Application reads Rainfields3 gaugeobs netcdf files and loads the data into a database
test.json An example of the input configuration file for load_gauge_data.py
load_radar_data.py Loads Rainfields3 radar data into the database.
test_radar_data.json An example of the input configuration file for load_radar_data.py
accumulate_data.py Accumulates rainfall accumulation (variable = precipitation) data and writes the accumulation back into the database
test_accumulate_data.json An example of the input configuration file for accumulate_data.py