merra_smb_mask.py
Creates a mask for MERRA-2 land ice data using a set of shapefiles
Calling Sequence
usage: merra_smb_mask.py [-h] [--variable VARIABLE]
[--shapefile SHAPEFILE [SHAPEFILE ...]] [--area AREA]
[--buffer BUFFER] [--verbose] [--mode MODE]
[infile] [outfile]
Positional Arguments
- infile
Input file
- outfile
Output file
Named Arguments
- --variable, -v
Variable from input netCDF4 file to extract
- --shapefile, -F
Shapefiles to run
- --area, -A
Minimum area threshold for polygons
- --buffer, -B
Distance to buffer polygons
- --verbose, -V
Verbose output of processing run
- --mode, -M
Permission mode of directories and files