nasa-develop / metric Goto Github PK
View Code? Open in Web Editor NEWFor estimating daily evapotranspiration from Landsat data
License: Other
For estimating daily evapotranspiration from Landsat data
License: Other
Dear all,
I a student working on the hydrological process, I have stepped to the "METRIC_run" in ArcMap of METRIC model (’METRIC-patch-ovr-issue‘ package), but with the file 'config.txt' from the last step output, the problems come as follow, could anyone help me with them? I will be appreciated, cuz it now the only method I find to finish my project.
"Traceback (most recent call last):
File "", line 306, in execute
File "C:\Users\yorkl\Desktop\daihai\METRIC-master\METRIC-master\METRIC\metric_py.py", line 1380, in run
mike = MetricModel(config_filepath)
File "C:\Users\yorkl\Desktop\daihai\METRIC-master\METRIC-master\METRIC\metric_py.py", line 73, in init
self.dem_path = os.path.join(self.work_dir, config["dem_path"])
File "C:\Python27\ArcGIS10.6\Lib\ntpath.py", line 67, in join
p_drive, p_path = splitdrive(p)
File "C:\Python27\ArcGIS10.6\Lib\ntpath.py", line 115, in splitdrive
if len(p) > 1:
TypeError: object of type 'NoneType' has no len()
Failed to execute (METRIC_run)."
In Arcmap 10.1 I load the .pyt toolbox, but the two scripts don't run. The error message is blunt ("Unable to execute the selected tool", and that's all...).
From IDLE, the scripts run with no errors - obviously, also no output.
Sir,
how is possible to add this tool in ARC GIS i tried to add it as py script in tool box it didn't work?
regards
Hi all,
i'm an italian engineer. I have studied the METRIC model for the estimation of actual evapotranspiration from satellite images.
I found on github your model (NASA-DEVELOP/METRIC) and i'm trying to make it work on Northern Italy, but it doesn't work. I can't understand why...
Can you help me?
I'm attaching the input dialog box and error message printed in Executing METRIC_configure in ArcGIS 10.2.2:
Thank you for your attention,
Luca
Dear Jeff Ely,
I have been conducting studies with evapotranspiration of crops and recently started studying the metric.
Due to little experience in programming in python I have not been able to program metric in ArcGIS.
I was able to execute your tool, "metric configure", however I can not execute "metric run" because I can not find the file valid for execution.
How can I proceed? I am running ArcGIS 10.6.
Thank you!
I am not able to create a valid configuration file using METRIC_configure.
Many annoying issues occur (.ovr and .xml are required, shapefile codepage etc.).
The bad point is that Landsat band 2 seems to be skipped (wrong enumeration?)...
Do you have a working config file, just to check its format and/or try a manual config?
Hi
I cannot run METRIC "metric_tbx.pyt" , Error is:
"Traceback (most recent call last):
File "", line 249, in execute
File "D:\METRIC-master\METRIC\prepare_metric_env.py", line 115, in prepare_metric_env
raise Exception("input workspace must be a directory that does not already exist! one will be created here!")
Exception: input workspace must be a directory that does not already exist! one will be created here!
Failed to execute (METRIC_configure)."
I saw coment in "#5" and use "https://github.com/NASA-DEVELOP/METRIC/archive/patch-ovr-issue.zip" file but I faced by error message again, How do I Solve It?
best regards
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.