-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from GEOS-ESM/develop
v1.0.6 release
- Loading branch information
Showing
3 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -847,6 +847,14 @@ def writeg(self,filename=None,dir='.',expid=None,refine=8,res=None, | |
vunits = [ '1', '1', '1', '1', '1', '1', ] | ||
kmvar = [ nch, nch, nch, nch, nch, 0 ] | ||
|
||
if hasattr(self,'ae'): | ||
vtitle += ['Angstrom Exponent 440-870', | ||
'Angstrom Exponent 440-870 (Revised)'] | ||
|
||
vname += ['ae','ae_' ] | ||
vunits += ['1', '1' ] | ||
kmvar += [0, 0 ] | ||
|
||
title = 'Gridded MODIS Aerosol Retrievals' | ||
source = 'NASA/GSFC/GMAO GEOS-5 Aerosol Group' | ||
contact = '[email protected]' | ||
|
@@ -898,7 +906,14 @@ def writeg(self,filename=None,dir='.',expid=None,refine=8,res=None, | |
binobscnt3d(self.lon,self.lat,aod_,im,jm,MISSING) ) | ||
f.write('cloud', nymd, nhms, | ||
binobs2d(self.lon,self.lat,self.cloud,im,jm,MISSING) ) | ||
|
||
# The AE may not exist | ||
# ---------------------- | ||
if hasattr(self,'ae'): | ||
f.write('ae', nymd, nhms, | ||
binobs2d(self.lon,self.lat,self.ae,im,jm,MISSING) ) | ||
f.write('ae_', nymd, nhms, | ||
binobs2d(self.lon,self.lat,self.ae_,im,jm,MISSING) ) | ||
|
||
# try: | ||
# f.close() | ||
# except: | ||
|