Skip to content

Instantly share code, notes, and snippets.

@copernicusmarinegist
copernicusmarinegist / convert-netcdf-to-csv.ipynb
Created June 18, 2018 15:17
Python Notebook Example on how to convert a netcdf file to csv file
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@copernicusmarinegist
copernicusmarinegist / ARCTIC_OMI_SI_extent_obs__global_attr.txt
Created February 26, 2019 11:06
ARCTIC_OMI_SI_extent_obs__global_attr
>>> ARCTIC_OMI_SI_extent_obs._file_obj.ds
<type 'netCDF4._netCDF4.Dataset'>
root group (NETCDF4_CLASSIC data model, file format HDF5):
product_name: EUMETSAT OSISAF monthly ice extent for Northern Hemisphere
Conventions: CF-1.4
start_date: 1979-01-15 00:00:00 UTC
stop_date: 2019-01-15 00:00:00 UTC
history: Creation 2019-02-01
title: Northern Hemisphere Sea Ice Extent Monthly
@copernicusmarinegist
copernicusmarinegist / ARCTIC_OMI_SI_extent_obs__global_attr_improved-draft.txt
Created February 26, 2019 14:26
ARCTIC_OMI_SI_extent_obs__global_attr_improved-draft
>>> ARCTIC_OMI_SI_extent_obs.attrs[u'product_id'] = u"ARCTIC_OMI_SI_extent_obs"
>>> ARCTIC_OMI_SI_extent_obs.attrs[u'dataset_id'] = u"arctic_omi_si_extent_obs"
>>> ARCTIC_OMI_SI_extent_obs.attrs[u'references'] = u"http://marine.copernicus.eu/services-portfolio/access-to-products/?option=com_csw&view=details&product_id=ARCTIC_OMI_SI_extent_obs"
>>> ARCTIC_OMI_SI_extent_obs.attrs[u'references_product_user_manual'] = u"http://marine.copernicus.eu/documents/PUM/CMEMS-OMI-PUM-SI-extent-obs.pdf"
>>> ARCTIC_OMI_SI_extent_obs.attrs[u'references_quality_information_document'] = u"http://marine.copernicus.eu/documents/QUID/CMEMS-OMI-QUID-SI-extent-obs.pdf"
>>> ARCTIC_OMI_SI_extent_obs.attrs[u'comment'] = u"The digital catalogue of Ocean Monitoring Indicators (OMI) is available here: http://marine.copernicus.eu/science-learning/ocean-monitoring-indicators/catalogue/"
>>> ARCTIC_OMI_SI_extent_obs.attrs[u'distributor_name'] = u"Copernicus Marine Environment Monitoring Service (CMEMS)"
>>> ARCTIC_OMI_SI_extent_obs.attrs[u'