hydroframe / Subsetting

Subsetting inputs for ParFlow to run in sub-continental watershed
2 stars 3 forks source link

Clip CLM input (vegm files) #31

Closed vineetbansal closed 3 years ago

vineetbansal commented 3 years ago

Added a new method to the CLMClipper class to directly clip drv_vegm.dat files instead of only working with separate land-cover and latitude-longitude files (which is still supported). This is the immediate use-case we're seeing in subsetting CONUS1 data on the Verde cluster.

Also added an optional parameter to customize the output subsetted pfb/tiff files, so we're not forced to use the _clip suffix. Usage of this suffix prevents its use in subsetting forcing data effectively, where parflow expects these files to have a per-determined file pattern (like NLDAS.Press.001633_to_001655.pfb)