With the shift to xarray, it would be nice to change PBC_flag from accepting hdim_1, hdim_2 to also accepting the xarray dimension names (e.g. latitude, longitude). Allowing min_h1, max_h1 etc. in coordinate variables rather than array indexes could also be added with this.
With the shift to xarray, it would be nice to change
PBC_flagfrom acceptinghdim_1,hdim_2to also accepting the xarray dimension names (e.g.latitude,longitude). Allowingmin_h1,max_h1etc. in coordinate variables rather than array indexes could also be added with this.