fix for date for mac
remove log output
create var file to not have to use complex ncdump