CC does not have a configured practices file for year 2020

Hi,
I am having som difficulties to get a result from the L4C. I have uploaded the config file with sucsess and also the L4C CC practices info file. I checked the database and I guess it uploaded correct:
image

But when I run the L4C as a cusom job, it crashes pretty fast and I am only getting the following error under the monitoring tab
“Error checking S4C_L4C preconditions for site sjv_2020. The practice CC does not have a configured practices file for year 2020!.”
It feels like I am missing an obvious part here but I can’t figure it out. I have also attached the two input files:
AVV_20200928_S.zip (46.9 KB) S4C_L4C_Config_SVE.zip (609 Bytes)

I am glad for all the help I can get :slight_smile:
Best
Bastian

Dear Bastian,

From what I see, from some reason the input tables file is not copied into the /mnt/archive/agricultural_practices_files/ location. I am not sure if it is an error during import or with rights on the above directory (most likely as the data seem to be imported).
You could try the following operations:

  • sudo chmod -R 777 /mnt/archive/agric_practices_files
  • Try uploading again the file AVV_20200928_S_V2.csv

See if this time you have the folder /mnt/archive/agric_practices_files/sjv_2020/2020/ts_input_tables/CC.
If yes, you can safely run the processor.

Another quick and dirty solution would be to copy the directory /mnt/archive/upload/agric_practices_files/sjv_2020/ts_input_tables into the directory /mnt/archive/agric_practices_files/sjv_2020/2020 (removing after the copy the inner unnecessary subdirectories *_backup_prev_files).

Hope this helps.

Best regards,
Cosmin

Thank you for the quick help Cosmin. I tried the different solution but none of them helped unfortunatly. Anything else I can try?

Best
Bastian

Dear Bastian,

Please check that you have in the directory the file named /mnt/archive/agric_practices_files/sjv_2020/2020/ts_input_tables/CC/Sen4CAP_L4C_CC_SWE_2020.csv.
If not, you can copy the file AVV_20200928_S_V2.csv into /mnt/archive/agric_practices_files/sjv_2020/2020/ts_input_tables/CC/ but renaming into Sen4CAP_L4C_CC_SWE_2020.csv (SWE is the country code you used when uploading the config file and 2020 corresponds to your year).

Best regards,
Cosmin