Add lat/lon to attributes of the remainder of the NetCDF output file headers. Added ability to supply valid_min and valid_max values in the header.