Write database snapshot of noaa data to csv file