-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
improvementImprovements on existing features or infrastructureImprovements on existing features or infrastructure
Description
In the subset API, we have constant_latitude() and constant_longitude() functions, which work for a single scalar value for either lat or lon as expected. Having the lat/ton interval subsetting functions' names prefixed also with "constant_" sounds a bit confusing, i.e. constant_latitude_interval() and constant_longitude_interval().
I think we should do either of the following ways forward instead:
- We can rename
constant_latitude_interval()andconstant_longitude_interval()tolatitude_interval()andlongitude_interval()(and show deprecation warning for the existing ones that start with"constant_" for a few versions forward). This way is the simplest to implement. - Or, maybe we want to combine latitude functions together and longitude ones together as well, i.e. have only one
subset.latitude()and let it do both cases of constant latitude and latitude interval depending on howlatarg is fed (a constant value or a tuple). I am not sure if we want to go this route though.
Metadata
Metadata
Assignees
Labels
improvementImprovements on existing features or infrastructureImprovements on existing features or infrastructure
Type
Projects
Status
π Backlog