Skip to content

Commit e234711

Browse files
authored
Merge pull request #111 from aodn/features/6092-add-columns-attribute
Add columns to limit data return
2 parents 694e709 + fb3a2ee commit e234711

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aodn_cloud_optimised/lib/DataQuery.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,7 @@ def get_data(
10411041
lon_min=None,
10421042
lon_max=None,
10431043
scalar_filter=None,
1044+
columns=None,
10441045
):
10451046
# TODO fix the whole logic as not everything is considered
10461047

@@ -1100,6 +1101,7 @@ def get_data(
11001101
self.dname,
11011102
engine="pyarrow",
11021103
filters=data_filter,
1104+
columns=columns,
11031105
filesystem=fs.S3FileSystem(
11041106
region=REGION, endpoint_override=ENDPOINT_URL, anonymous=True
11051107
),

0 commit comments

Comments
 (0)