Timeline for GDAL for Python: extracting subdomains from NetCDF file?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 15, 2014 at 15:07 | comment | added | DopplerShift | Yes, that slicing will work. When you slice a NetCDF variable, it does become a NumPy array, which does not support all the metadata and attributes that can be attached. However, you can still retrieve this information from the original variable object. | |
Sep 9, 2014 at 13:58 | vote | accept | Niccolo Bonfadini | ||
Sep 9, 2014 at 13:58 | |||||
Sep 4, 2014 at 9:34 | comment | added | Niccolo Bonfadini | awesome! slicing techniques you mean like this? from numpy import array >>> a = array([[1,2,3],[3,4,5],[4,5,6]]) >>> a[:,1:] array([[2, 3], [4, 5], [5, 6]]) ?? I was also wondering, if I use such technique with numpy arrays then i will lose all the informations contained in the header of the dataset file i get by using the Dataset() method in NETCDF4....??? | |
Sep 3, 2014 at 17:25 | history | answered | DopplerShift | CC BY-SA 3.0 |