<commit_before># Docker for SEN2COR #


This is a docker for sen2cor, a prototype processor for processing Sentinel 2 Level 1C to Level 2A. 
The original sen2cor can be downloaded from https://www.github.com.umwilm/SEN2COR.


## Using the docker ##
On the sen2cor.yml file change the volumes accordingly except the wraper.
The first volume is a full path to the Sentinel data repository.
The second volume is a full path to a repository with scripts (not used in this case), but should there be a need, a service can be added in the docker-compose (sen2cor.yml) file.

To build, run the command:

~~~
./build

~~~

To test type and run the command

~~~
./test

~~~

To run the processor type and run the command:

~~~
./run /path/to/L1c/Directory

~~~

To see how the docker image is build run the command:

~~~
./command

~~~

When running ./command, before starting the L2A_Process, also run:
~~~
source /root/sen2cor/L2A_Bashrc~
~~~~


<commit_msg>minor edits<commit_after># Docker for SEN2COR #


This is a docker for sen2cor, a prototype processor for processing Sentinel 2 Level 1C to Level 2A. 
The original sen2cor can be downloaded from https://www.github.com.umwilm/SEN2COR.


## Using the docker ##
On the sen2cor.yml file change the volumes accordingly except the wraper.
The first volume is a full path to the Sentinel data repository.
The second volume is a full path to a repository with scripts (not used in this case), but should there be a need, a service can be added in the docker-compose (sen2cor.yml) file.

To build, run the command:

~~~
./build

~~~

To test type and run the command

~~~
./test

~~~

To run the processor type and run the command:

~~~
./run /path/to/L1c/Directory

~~~

To see how the docker image is build run the command:

~~~
./command

~~~

When running ./command, before starting the L2A_Process, also run:

~~~
source /root/sen2cor/L2A_Bashrc
~~~~



{'fraction_non_alphanumeric': 0.09105263157894737, 'fraction_numerical': 0.01368421052631579, 'mean_word_length': 3.6938271604938273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2510011', 'n_tokens_mistral': 640, 'n_tokens_neox': 581, 'n_words': 275}