Skip to content

Commit

Permalink
Logic changes for pits
Browse files Browse the repository at this point in the history
  • Loading branch information
micah-prime committed Aug 18, 2024
1 parent 27a3f4e commit d114e71
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions scripts/upload/add_alaska_pits_2023.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def main():
"""
db_name = 'localhost/snowex'
# Preliminary data
doi = "None"
doi = "preliminary_alaska_pits"
debug = True
timezone = "US/Alaska"

Expand All @@ -35,7 +35,8 @@ def main():
# Files to ignore
ignore_files = [
"SnowEx23_SnowPits_AKIOP_Summary_Environment_v01.csv",
"SnowEx23_SnowPits_AKIOP_Summary_SWE_v01.csv"
"SnowEx23_SnowPits_AKIOP_Summary_SWE_v01.csv",
"SnowEx23_SnowPits_AKIOP_Summary_SWE_v01_modified.csv"
]

# Get all the date folders
Expand Down
2 changes: 1 addition & 1 deletion scripts/upload/add_pits_bulk_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def main():
},
# Preliminary data from 2023 Alask pits
{
"DOI": None,
"DOI": "preliminary_alaska_pits",
"path": "../SNEX23_preliminary/Data/SnowEx23_SnowPits_AKIOP_Summary_SWE_v01.csv"
}
]
Expand Down
3 changes: 2 additions & 1 deletion scripts/upload/add_time_series_pits_2020.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ def main():
# Files to ignore
ignore_files = [
"SNEX20_TS_SP_Summary_Environment_v02.csv",
"SNEX20_TS_SP_Summary_SWE_v02.csv"
"SNEX20_TS_SP_Summary_SWE_v02.csv",
"SNEX20_TS_SP_Summary_SWE_v02_modified.csv"
]

# Get all the date folders
Expand Down
3 changes: 2 additions & 1 deletion scripts/upload/add_time_series_pits_2021.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def main():
# Files to ignore
ignore_files = [
"SNEX21_TS_SP_Summary_Environment_v01.csv",
"SNEX21_TS_SP_Summary_SWE_v01.csv"
"SNEX21_TS_SP_Summary_SWE_v01.csv",
"SNEX21_TS_SP_Summary_SWE_v01_modified.csv"
]

# Get all the date folders
Expand Down

0 comments on commit d114e71

Please sign in to comment.