txt_to_npy
Convert DEM, watershed_mask, and river_mask from .txt to .npy in this directory. Run from this directory or from the project root; paths are relative to this script. The .txt files were created by calling write.table() in R from the .RData files in the PriorityFlow/Rpkg/data/ directory.
Attributes
Functions
|
Module Contents
- txt_to_npy.SCRIPT_DIR
- txt_to_npy.FILES = [('DEM.txt', 'DEM.npy'), ('watershed_mask.txt', 'watershed_mask.npy'), ('river_mask.txt',...
- txt_to_npy.main()