Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
fec35a3
pointCollection/data.py: bug fixes
Apr 22, 2026
1375ac3
pointCollection/data.py: more bug fixes
Apr 22, 2026
d5b9b6a
pointCollection/grid/data.py: fixes for edge cases
Apr 22, 2026
ee7cc4f
pointCollection/grid/data.py : fixed off-by-one error in select_slice…
Apr 22, 2026
b6291e3
pointCollection/grid/data.py : fixed default for attrs in to_nc and t…
Apr 23, 2026
d0ca547
pointCollection/grid/data.py : safer handling of dimensions and time …
Apr 23, 2026
e8e8ad3
remove invalid tests
Apr 29, 2026
2d4f347
pointCollection/points_to_grid.py: handle case where input grid does …
Apr 29, 2026
525aa46
pointCollection/geoIndex.py: added full_path option to query_xy
May 4, 2026
9d48999
pointCollection/scripts/index_glob.py: by default, add new files to e…
May 4, 2026
2c9e418
pointCollection/tilingSchema.py : make formats for files more flexible
May 4, 2026
47bc191
pointCollection/grid/data.py: allow names for coordinates that are no…
May 4, 2026
eb1d30a
improve handling of dict input for init
May 4, 2026
f47c405
pointCollection/data.py: blockMedian throws exception if indexing of …
May 4, 2026
1125771
pointCollection/data.py: refactor to allow coordinates other than 'x'…
May 4, 2026
7068eed
pointCollection/data.py: allow single-coordinate data, infer coordina…
May 5, 2026
1cbe35a
added test suite
May 5, 2026
c321163
removed ATL11_prerelease
May 5, 2026
ec2a75c
removed ATL11_prerelease entry from __init__.py
May 5, 2026
41c0860
refactor with lazy imports to improve package import speed
May 12, 2026
b270d88
pointCollection/data.py pointCollection/ATL06/data.py : have get_xy w…
May 15, 2026
42cf902
pointCollection/data.py: fixed a typo in get_xy
May 15, 2026
23f7a8f
pointCollection/grid/data.py: pass kwargs to gdal
Jun 28, 2026
7547d4b
pointCollection/geoIndex.py: better handling of groups within files
Jun 29, 2026
89c809e
pointCollection/geoIndex.py: more work on handling of groups within f…
Jun 29, 2026
b877183
more changes to geoIndex chasing a minor bug
Jul 5, 2026
7877c0b
Fix crop/cropped argument parsing to handle packed and per-dimension …
Jul 7, 2026
7a20666
Fix geoIndex query_latlon/bin_latlon bugs
Jul 9, 2026
60d3df2
Add bands keyword to grid.mosaic.from_list
Jul 9, 2026
14d138a
Deprecate dataPicker by moving it to old/
Jul 10, 2026
31d72b2
pointCollection/tilingSchema.py: remove trailing comma in class defin…
Jul 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pointCollection/ATL06/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def __init__(self, fields=None, SRS_proj4=None, field_dict=None, beam_pair=2, co
self.fields=list(fields)
self.fields=fields
self.SRS_proj4=SRS_proj4
self.coordinates=['longitude','latitude']
self.columns=columns
self.shape=(0,2)
self.size=0
Expand Down
3 changes: 0 additions & 3 deletions pointCollection/ATL11_prerelease/__init__.py

This file was deleted.

64 changes: 0 additions & 64 deletions pointCollection/ATL11_prerelease/crossover_data.py

This file was deleted.

84 changes: 0 additions & 84 deletions pointCollection/ATL11_prerelease/data.py

This file was deleted.

12 changes: 0 additions & 12 deletions pointCollection/ATL11_prerelease/demo.py

This file was deleted.

2 changes: 1 addition & 1 deletion pointCollection/CS2/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

import numpy as np
import pointCollection as pc
import netCDF4
import re
import os

Expand Down Expand Up @@ -918,6 +917,7 @@ def cryosat_baseline_D(self, full_filename, unpack=False):
"""
Read L2 MDS variables for CryoSat Baseline D (netCDF4)
"""
import netCDF4
# open netCDF4 file for reading
fid = netCDF4.Dataset(os.path.expanduser(full_filename),'r')
# use original unscaled units unless unpack=True
Expand Down
2 changes: 1 addition & 1 deletion pointCollection/CS2_wfm/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

import numpy as np
import pointCollection as pc
import netCDF4
import re
import os

Expand Down Expand Up @@ -1461,6 +1460,7 @@ def cryosat_baseline_D(self, full_filename, unpack=False):
"""
Read L1b MDS variables for CryoSat Baseline D (netCDF4)
"""
import netCDF4
# open netCDF4 file for reading
fid = netCDF4.Dataset(os.path.expanduser(full_filename),'r')
# use original unscaled units unless unpack=True
Expand Down
29 changes: 14 additions & 15 deletions pointCollection/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
from .tile import tile
from .tilingSchema import tilingSchema
from .geoIndex import geoIndex
# data classes
from pointCollection import ATM_Qfit
from pointCollection import ATM_ICESSN
from pointCollection import CS2_wfm
from pointCollection import CS2
from pointCollection import CS2_retracked_POCA
from pointCollection import CS2_retracked_SW
from pointCollection import ATL06
from pointCollection import indexedH5
from pointCollection import ATM_WF
from pointCollection import glah12
from pointCollection import glah06
from pointCollection import ATL11
from pointCollection import ATL11_prerelease
from pointCollection import grid
# data classes — loaded lazily on first access (e.g. pc.ATL06, pc.ATM_Qfit)
_SUBPACKAGES = frozenset({
'ATM_Qfit', 'ATM_ICESSN', 'CS2_wfm', 'CS2', 'CS2_retracked_POCA',
'CS2_retracked_SW', 'ATL06', 'indexedH5', 'ATM_WF', 'glah12',
'glah06', 'ATL11', 'grid',
})

def __getattr__(name):
if name in _SUBPACKAGES:
import importlib
mod = importlib.import_module(f'pointCollection.{name}')
globals()[name] = mod
return mod
raise AttributeError(f"module 'pointCollection' has no attribute {name!r}")

# utilities
from .tools.bin_rows import bin_rows
Expand All @@ -44,4 +44,3 @@
from .xover_search import cross_tracks
from pointCollection.ps_scale_for_lat import ps_scale_for_lat
from pointCollection.reconstruct_ATL06_tracks import reconstruct_ATL06_tracks
#from pointCollection.dataPicker import dataPicker
Loading
Loading