Skip to content

Commit

Permalink
Merge pull request #13 from SnowEx/update_snow_poles_dataset
Browse files Browse the repository at this point in the history
Updated the snowpoles dataset to use the doi-ed version
  • Loading branch information
micahjohnson150 authored Jul 9, 2022
2 parents 0578b83 + 02c4207 commit d50ffee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions scripts/download/nsidc_sources.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ https://n5eil01u.ecs.nsidc.org/SNOWEX/SNEX20_SMP.001/
https://n5eil01u.ecs.nsidc.org/SNOWEX/SNEX20_SD.001/
https://n5eil01u.ecs.nsidc.org/SNOWEX/SNEX20_GM_CSU_GPR.001/2020.02.06/SNEX20_GM_CSU_GPR_1GHz_v01.csv
https://n5eil01u.ecs.nsidc.org/SNOWEX/SNEX20_UNM_GPR.001/2020.01.28/SNEX20_UNM_GPR.csv
https://n5eil01u.ecs.nsidc.org/SNOWEX/SNEX20_SD_TLI.001/2019.09.29/SNEX20_SD_TLI_clean.csv
14 changes: 5 additions & 9 deletions scripts/upload/add_snow_poles.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@


def main():
# Site name
start = time.time()
site_name = 'Grand Mesa'

# Read in the Grand Mesa Snow Depths Data
f = abspath('../download/data/SnowEx2020.snowdepth.snowstakes.alldepths_clean_v10.csv')
f = abspath('../download/data/SNOWEX/SNEX20_SD_TLI.001/2019.09.29/SNEX20_SD_TLI_clean.csv')

# Start the Database
db_name = 'localhost/snowex'
Expand All @@ -29,12 +25,12 @@ def main():
f,
depth_is_metadata=False,
units='cm',
site_name=site_name,
observers='Catherine Breen, Cassie Lumbrazo',
site_name='Grand Mesa',
observers='Catherine Breen',
instrument='camera',
in_timezone='MST',
epsg=26912,
doi=None)
doi='https://doi.org/10.5067/14EU7OLF051V',
epsg=26912)

csv.submit(session)
errors = len(csv.errors)
Expand Down

0 comments on commit d50ffee

Please sign in to comment.