Dear all,
I am working on DART to generate BRF maps, and use the tool, "section: III.7.3 Computation of parametric model coefficients" to fit model parameters on the BRF maps.
tool used:
"GenerateCoefficientsForOneSimulation.py"
section:
III.7.3 Computation of parametric model coefficients
Parameter model:
RPV 3 parameters
input file:
BRF file: for one BAND (BAND0); of type ".mpr"
I get this error :
" generateCoefficientsAndBrfFiles(args.pathToBrfFile, pathToSimulation, args.modelName, args.maximumZenithAngle, args.epsilon, args.nbIterMax)
File "D:\DART\bin\python_script\DisplayLutAndInversion\src\GenerateCoefficientsForOneSimulation.py", line 247, in generateCoefficientsAndBrfFiles
viewZenithAngles, viewAzimuthAngles, brfFromSimulation = getBrfInSimulation(pathToBrf, maximumZenithAngle)
File "D:\DART\bin\python_script\DisplayLutAndInversion\src\GenerateCoefficientsForOneSimulation.py", line 79, in getBrfInSimulation
brfFile = np.loadtxt(pathToBrfFile)
File "D:\DART\bin\python\lib\site-packages\numpy\lib\npyio.py", line 1146, in loadtxt
for x in read_data(_loadtxt_chunksize):
File "D:\DART\bin\python\lib\site-packages\numpy\lib\npyio.py", line 997, in read_data
items = [conv(val) for (conv, val) in zip(converters, vals)]
File "D:\DART\bin\python\lib\site-packages\numpy\lib\npyio.py", line 997, in <listcomp>
items = [conv(val) for (conv, val) in zip(converters, vals)]
File "D:\DART\bin\python\lib\site-packages\numpy\lib\npyio.py", line 734, in floatconv
return float(x)
ValueError: could not convert string to float: '[Ilwis]'"
Thank you for providing me some direction.
sincerely,
Suman