pandas indexing in add_depth and regrid