EnesYildirim / netcdf4-python

Automatically exported from code.google.com/p/netcdf4-python
Other
0 stars 0 forks source link

Access to the metadata without reading the whole netCDF file #162

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. reading the netCDF file

What version of the product are you using? On what operating system?
version: 0.9.9   linux

Please provide any additional information below.
I create some netCDF4 files, each 2GB or so. When I want to access to the data, 
I do not want to load the whole file in my memory. I just want to access to 
some parts of the file (like metadata) and then choose those groups that I 
need. Is there anyway to do so? This makes the whole procedure much faster and 
more feasible.

Thank you very much in advance for your time and kind attention to my request.

Best,
Kasra

Original issue reported on code.google.com by k.hosseinizad on 19 Feb 2013 at 2:11

GoogleCodeExporter commented 8 years ago
Opening a netcdf file does not read the whole file in memory.  You can access 
any variable's metadata without the overhead of reading any data.  Can you give 
me an example of a problem you are encountering?

Original comment by whitaker.jeffrey@gmail.com on 7 Mar 2013 at 11:37

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I apologize for the delay in responding and for the question itself. I just 
rechecked and everything works perfectly fine, i.e. it does not read the whole 
file in memory.

Thank you very much for your response and sorry again for the wrong question.

Best,
Kasra

Original comment by k.hosseinizad on 26 Mar 2013 at 10:15

GoogleCodeExporter commented 8 years ago

Original comment by whitaker.jeffrey@gmail.com on 26 Feb 2014 at 2:04