Skip to content

Commit

Permalink
Merge pull request #557 from LinkedEarth/rtd_fixes
Browse files Browse the repository at this point in the history
Update geoseries.py
  • Loading branch information
jordanplanders authored May 31, 2024
2 parents 9399d0b + e880c1a commit b146a64
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pyleoclim/core/geoseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,11 @@ def map_neighbors(self, mgs, radius=3000, projection='Orthographic', proj_defaul
lat = row['geo_meanLat'], lon = row['geo_meanLon'],
archiveType = row['archiveType'], verbose = False,
label=row['dataSetName']+'_'+row['paleoData_variableName']))
mgs = pyleo.MultipleGeoSeries(ts_list,time_unit='years AD')
gs = mgs.series_list[6] # extract one record as the target one
print(ts_list)
print(len(ts_list))
mgs = pyleo.MultipleGeoSeries(series_list=ts_list,time_unit='years AD')
gs = ts_list[0] # extract one record as the target one
gs.map_neighbors(mgs, radius=4000)
'''
Expand Down

0 comments on commit b146a64

Please sign in to comment.