Skip to content

Commit

Permalink
title
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Apr 23, 2017
1 parent ffe921d commit 8097ded
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ScatterRadiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def scatter(c1:dict, outfn:Path):
p = ArgumentParser(description='Lowtran 7 interface')
p.add_argument('-z','--obsalt',help='altitude of observer [km]',type=float,default=0.)
p.add_argument('-a','--zenang',help='Observer zenith angle [deg] ',nargs='+',type=float,default=[0.,60,80])
p.add_argument('-w','--wavelen',help='wavelength range nm (start,stop)',type=float,nargs=2,default=(200,20000))
p.add_argument('-w','--wavelen',help='wavelength range nm (start,stop)',type=float,nargs=2,default=(300,1000))
p.add_argument('-o','--outfn',help='HDF5 file to write')
p.add_argument('--model',help='0-6, see Card1 "model" reference. 5=subarctic winter',type=int,default=5)

Expand Down
4 changes: 2 additions & 2 deletions lowtran/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def plotscatter(irrad:DataArray, c1:dict, log:bool=False):

fg,axs = subplots(2, 1, sharex=True)

transtxt = 'Transmittance Observer to Space'
transtxt = 'Transmittance'

ax = axs[0]
ax.plot(irrad.wavelength_nm, irrad.loc[...,'transmission'].T)
Expand Down Expand Up @@ -39,7 +39,7 @@ def plotscatter(irrad:DataArray, c1:dict, log:bool=False):
# ax.set_ylim(1e-8,1)

try:
fg.suptitle(f'Obs. zenith angle: {c1["angle"]} deg., ')
fg.suptitle(f'Obs. to Space: zenith angle: {c1["angle"]} deg., ')
#{datetime.utcfromtimestamp(irrad.time.item()/1e9)}
except (AttributeError,TypeError):
pass
Expand Down

0 comments on commit 8097ded

Please sign in to comment.