How to read NetCDF file and write to CSV using Python
My aim is to access data from a netcdf file and write to a CSV file in the following format. Latitude Longitude Date1 Date2 Date3 100 200 <-- MIN_SFC values --> So far I have accessed the variables, written the header to the file and populated the lat/lons. How can I access the MIN_SFC values for specified lon,lat coordinates and dates and then write to a CSV file. I'm a python newbie if there is a better way to go about this please let me know. NetCDF file info: Dimensions: time = 7 latitude = 292 longitude =341 Variables: float MIN_SFC (time=7, latitude = 292, longitude = 341) Here's what I