Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add region selection from file #981

Merged
merged 8 commits into from
Sep 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Change func name
  • Loading branch information
acordonez committed Sep 12, 2023
commit 8c2a666859991234cc73b07c4527b8728a05f06a
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import xarray as xr
import xcdat

def extract_by_shp(data,feature,coords=None,rgn_path=None,attr=None):
def region_from_file(data,feature,coords=None,rgn_path=None,attr=None):
# Return data masked from coordinate list or shapefile.
# Masks a single region
# Arguments:
Expand Down