directory to scan for netCDF files (including in subdirs)
write_mode
how many files to write:
"paired" creates files named .nc.varalongside every.nc, "collected" writes a single <nc_dir>/nc_vars.txt` that lists every variable
defined in any nc file in the directory