Error of generating custom job for L4A crop type

Dear Sen4Cap,

We are running V 1.1 and we have upgraded crop-type-parcels.py as well. After creating custom job for crop type, we are having below error. Please help to solve it out.

Traceback (most recent call last):
File “/usr/bin/crop-type-wrapper.py”, line 336, in
main()
File “/usr/bin/crop-type-wrapper.py”, line 273, in main
os.rename(“optical/optical-features.csv”, “features/optical-features.csv”)
OSError: [Errno 2] No such file or directory

Thanks and Regards,
Henry

Hi,

There should be more output. Can you take the command line from that page and run it in a terminal instead? You can install tmux (sudo yum -y install tmux), run it, then run the processor and detach with Ctrl-B, D.

The processor command line should look like

crop-type-wrapper.py -s 3 --season-start 2019-01-01 --season-end 2019-08-31 --out out --year 2019

(assuming the out directory exists and you have write permissions and enough disk space).