sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminatorTerminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
| from osgeo import ogr | |
| data = ogr.Open('/path/to/vector/file') | |
| print('Data Name:', data.GetName()) | |
| # get a layer with GetLayer('layername'/layerindex) | |
| for layer in data: | |
| print('Layer Name:', layer.GetName()) | |
| print('Layer Feature Count:', len(layer)) |
| #from netCDF4 import Dataset # use scipy instead | |
| from scipy.io import netcdf #### <--- This is the library to import. | |
| # Open file in a netCDF reader | |
| directory = './' | |
| wrf_file_name = directory+'filename' | |
| nc = netcdf.netcdf_file(wrf_file_name,'r') | |
| #Look at the variables available |