0

I'm trying to rescale MODIS LST data by running the following command but it gives this error (Image Attached) Kindly help if the syntax is not right.

Command:

for %i (*MOD11A1.A2000065.LST_Day_1km*.tif) Do r mapcalc "%i_rescale=(%i * 0.02)-273.15"

Console log:

Command Run At GrassGIS Console

  • Looks like a windows batch scripting syntax error. Replace for %i (*... with for %i in (*... and see what other errors will be reported. – Dmitri Chubarov Apr 6 '18 at 6:22
  • @Dmitri Chubarov I tried adding "in" between that but the error remains the same that "it was unexpected at this time" – Rao Taha Apr 8 '18 at 12:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.