Dear members, I have been using python NetcdF for some time. I understand that we can get variables from a netcdf one by one by using temp=ncf.variable['temp'][:] but is there a way to get a list of variables with out the rest of the stuff as seen below? some hing like a list xx=nc,variables[:] should get me all variable names with out other surrounding stuff?? with best regards. Sudheer
In [4]: ncf.variables Out[4]: OrderedDict([(u'LON', <netCDF4.Variable object at 0x254aad0>), (u'LAT', <netCDF4.Variable object at 0x254ab50>), (u'DEPTH1_1', <netCDF4.Variable object at 0x254abd0>), (u'TAX', <netCDF4.Variable object at 0x254ac50>), (u'DIF_FD1', <netCDF4.Variable object at 0x254acd0>), (u'DIF_FD2', <netCDF4.Variable object at 0x254ad50>), (u'DIF_FD3', <netCDF4.Variable object at 0x254add0>), (u'DIF_FD4', <netCDF4.Variable object at 0x254ae50>), (u'DIF_FD5', <netCDF4.Variable object at 0x254aed0>), (u'DEPTH', <netCDF4.Variable object at 0x254af50>), (u'DEPTH_bnds', <netCDF4.Variable object at 0x261b050>), (u'TIME', <netCDF4.Variable object at 0x261b0d0>), (u'TEMP_BIAS', <netCDF4.Variable object at 0x261b150>)]) -- http://mail.python.org/mailman/listinfo/python-list