Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor TMP C data to GCW UP #132

Closed
wants to merge 14 commits into from
17 changes: 17 additions & 0 deletions synoptic/L1_normalize.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,23 @@ f <- function(fn, out_dir, design_table) {
site = dat$Site[1],
logger = dat$Logger[1],
table = dat$Table[1])

# The Chesapeake Bay synoptic site design overlaps with TEMPEST,
# and the latter's control ("C") plot functions as the former's
# upland plot. So if we're handling TMP C data, also write a copy
# as GCW UP. https://github.com/COMPASS-DOE/data-workflows/issues/116
if(dat$Site[1] == "TMP" && dat$Plot[1] == "C") {
dat$Site <- "GCW"
dat$Plot <- "UP"
message("\t--> DUPLICATING DATA TO GCW UP <--")
write_to_folders(dat,
root_dir = out_dir,
data_level = "L1_normalize",
site = dat$Site[1],
logger = dat$Logger[1],
table = dat$Table[1])
}

rm(dat)

if(params$remove_input_files) {
Expand Down
4 changes: 4 additions & 0 deletions synoptic/metadata/L1_metadata/GCW.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ overlaps with the TEMPEST experiment control plot. This transect spans a
mid- to late-successional (~80 years old) temperate, deciduous coastal
forest and a mesohaline marsh along the Rhode River in Edgewater, MD.

Important note: GCW upland (UP) is the TEMPEST control (C) plot, and so the
data for GCW-UP in this folder are copied from (and identical to) TMP-C;
this means they differ in some respects from the other synoptic plots' data.

Contacts for the GCReW Synoptic site:
Stephanie J. Wilson [email protected]
Pat Megonigal [email protected]
Expand Down
2 changes: 1 addition & 1 deletion synoptic/metadata/L1_metadata/L1_metadata_variables.csv
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WaterLevel,Barometric_Pressure600,gw_bar_pressure,,,x * 1,,,
WaterLevel,Temperature600,gw_temperature,degC,degC,x * 1,-5,50,Groundwater temperature
WaterLevel,Temperature_Int600,gw_temperature_int,degC,degC,x * 1,-5,50,
WaterLevel,Actual_Conductivity600,gw_act_cond,μS/cm,μS/cm,x * 1,,,
WaterLevel,Specific_Conductivity600,gw_conductivity,uS/cm,uS/cm,x * 1,0,350000,Groundwater specific conductivity
WaterLevel,Specific_Conductivity600,gw_spec_cond,uS/cm,uS/cm,x * 1,0,350000,Groundwater specific conductivity
WaterLevel,Salinity600,gw_salinity,PSU,PSU,x * 1,0,350,Groundwater salinity
WaterLevel,TDS600,gw_tds,,,x * 1,,,
WaterLevel,Water_Density600,gw_density,g/cm3,g/cm3,x * 1,0.98,1.05,Groundwater density
Expand Down
Loading