Skip to content

Commit

Permalink
Removing synonym of uncertainty as age
Browse files Browse the repository at this point in the history
  • Loading branch information
IKCAP committed May 9, 2024
1 parent d1b441a commit 9ddab10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pylipd/globals/synonyms.json
Original file line number Diff line number Diff line change
Expand Up @@ -6766,8 +6766,8 @@
"label": "accumulation"
},
"age": {
"id": "http://linked.earth/ontology/variables#uncertainty",
"label": "uncertainty"
"id": "http://linked.earth/ontology/variables#age",
"label": "age"
},
"age_original": {
"id": "http://linked.earth/ontology/variables#age",
Expand Down
5 changes: 3 additions & 2 deletions pylipd/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@
lipd = LiPD()

#lipd.load("/Users/varun/git/pylipd/pylipd/data/ODP846.Lawrence.2006.lpd")
lipd.load("/Users/varun/Downloads/IC06THPR.lpd")
lipd.load("/Users/varun/Downloads/CO17WUBO1B.lpd")
print(lipd.get_all_dataset_names())
ts, ts_df = lipd.get_timeseries(lipd.get_all_dataset_names(), to_dataframe=True)
print(ts_df[["dataSetName", "year", "archiveType", "paleoData_variableName", "paleoData_units"]])
print(ts_df.columns)
print(ts_df[["dataSetName", "age", "archiveType", "paleoData_variableName", "paleoData_units"]])
exit()
series = lipd.to_lipd_series()
print(series.get_all_variable_names())
Expand Down

0 comments on commit 9ddab10

Please sign in to comment.