nelisw / computationalradiometry Goto Github PK
View Code? Open in Web Editor NEWNotebooks to go with pyradi module for computational radiometry
Home Page: https://github.com/NelisW/pyradi
License: Mozilla Public License 2.0
Notebooks to go with pyradi module for computational radiometry
Home Page: https://github.com/NelisW/pyradi
License: Mozilla Public License 2.0
I am testing the AlbedoDerivation Notebook and I keep getting this error: "'getRowsByType' is not defined"
NameError Traceback (most recent call last)
in ()
12 for (i,dataType) in enumerate(['sur_refl_b0{}'.format(i) for i in range(1,8)]):
13 # print('Parameter: {}'.format(dataType))
---> 14 refl,dataCols = getRowsByType(ascFile, dataType, numberSamples,nrows=None, fileType='MOD9A1')
15
16 #get the mean for all samples on one line then drop the individual columns
NameError: name 'getRowsByType' is not defined
<matplotlib.figure.Figure at 0xc62e630>
<matplotlib.figure.Figure at 0xc62e668>
<matplotlib.figure.Figure at 0xc63d240>
Any help would be appreciated.
Vincent
Hi, I'm trying to run the notebook 08 (Modtran File Processing), but I can't read the tape7 file. This is the error I'm getting:
TypeError Traceback (most recent call last)
in ()
1 tape7 = rymodtran.loadtape7("tape7-01", ['FREQ_CM-1', 'COMBIN_TRANS',
2 'MOLEC_SCAT', 'AER+CLD_TRANS',
----> 3 'AER+CLD_abTRNS'] )
4 print(tape7.shape)
/usr/local/lib/python2.7/site-packages/pyradi/rymodtran.pyc in loadtape7(filename, colspec)
240 # build a new data set with appropriate column header and numeric data
241 #change all - and + to alpha to enable table lookup
--> 242 colHead = fixHeadersList(colHead)
243
244 s = ' '.join(colHead) + '\n'
/usr/local/lib/python2.7/site-packages/pyradi/rymodtran.pyc in fixHeadersList(headcol)
100 """
101
--> 102 headcol = [fixHeaders(str) for str in headcol]
103 return headcol
104
/usr/local/lib/python2.7/site-packages/pyradi/rymodtran.pyc in fixHeaders(instr)
80 assert isinstance(instr, str)
81 translate_table = maketrans(intab, outtab)
---> 82 return instr.translate(translate_table)
83
84
TypeError: expected a character buffer object
I tried it directly on python and also on the notebook. Same error.
Thanks
I think here probably some formatting problems:
e^{qV/(kT\beta)}
I{\rm sat} -I{ph}, $$
n_{\textrm{pixel}}ΒΆ
\left(\frac{\pi,t_{\textrm{int}}, P, \cos^n(\theta) ,Ad }{4,F#^2} \right) \int0^\infty (\eta{\lambda}, \tau{o\lambda}, \tau{f\lambda},\tau{a\lambda}), \left[ L{\lambda\textrm{signal}}+L{\lambda\textrm{narc}}(\theta)\right], d\lambda +n\textrm{dark} \end{equation}
"Dark current shot noise" have bad formatting with bourders
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.