Created
June 29, 2016 02:12
-
-
Save is/ab6ae0f173576e5c632fdc7256bb975b to your computer and use it in GitHub Desktop.
check O3 emission.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import netCDF4 as nc | |
| fn = 'Daily.Combine.Surf.Column.AOD.together.d03.2016062' | |
| nc = nc.Dataset(fn) | |
| print(nc.variables) | |
| o3 = nc.variables['O3'] | |
| o3arr = o3[:] | |
| print(np.min(o3arr), np.max(o3arr), np.mean(o3arr)) | |
| print(len(np.where(o3arr < 1e-10)[0])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment