worked thru all up to writing correlation to .csv
checked all code, including producing maps and figs