The default value for the columns input includes lon_lowestmode and lat_lowestmode because they are necessary for subsetting. However, if a user supplies their own value for columns that does not explicitly include both of those columns, then the code throws an exception: AttributeError: 'DataFrame' object has no attribute 'lon_lowestmode'
This forces the user to explicitly specify those 2 columns, but they should not have to do so.
Acceptance Criteria
The default value for the
columnsinput includeslon_lowestmodeandlat_lowestmodebecause they are necessary for subsetting. However, if a user supplies their own value forcolumnsthat does not explicitly include both of those columns, then the code throws an exception:AttributeError: 'DataFrame' object has no attribute 'lon_lowestmode'This forces the user to explicitly specify those 2 columns, but they should not have to do so.
Acceptance Criteria
columninput,lon_lowestmodeandlat_lowestmodeshould be implicitly added to the list of columns, if missingcolumnsshould drop the explicit inclusion of these 2 columnscolumnsvaluecolumnsvalue that does not explicitly include either column