<commit_before>from pywps.Process import WPSProcess

import icclim
import icclim.util.callback as callback

import dateutil.parser
from datetime import datetime
import os
from os.path import expanduser

from flyingpigeon.utils import make_dirs

transfer_limit_Mb = 100

import logging
logger = logging.getLogger()
    
class ProcessSimpleIndice(WPSProcess):


    def __init__(self):
        WPSProcess.__init__(self,
                            identifier = 'wps_simple_indice', # only mandatary attribute = same file name
                            title = 'c4i - Simple Climate Indices',
                            abstract = 'Computes single input indices of temperature TG, TX, TN, TXx, TXn, TNx, TNn, SU, TR, CSU, GD4, FD, CFD, ID, HD17; of rainfal: CDD, CWD, RR, RR1, SDII, R10mm, R20mm, RX1day, RX5day; and of snowfall: SD, SD1, SD5, SD50.',
                            version = "1.0",
                            metadata = [
                                {"title": "ICCLIM" , "href": "http://icclim.readthedocs.io/en/latest/"},
                                {"title": "Climate4Impact", "href": "http://climate4impact.eu/impactportal/general/index.jsp"},
                            ],
                            storeSupported = True,
                            statusSupported = True,
                            grassLocation =False)


        ## self.filesIn = self.addLiteralInput(identifier = 'files',
        ##                                        title = 'Input netCDF files list',<commit_msg>update abstract<commit_after>from pywps.Process import WPSProcess

import icclim
import icclim.util.callback as callback

import dateutil.parser
from datetime import datetime
import os
from os.path import expanduser

from flyingpigeon.utils import make_dirs

transfer_limit_Mb = 100

import logging
logger = logging.getLogger()
    
class ProcessSimpleIndice(WPSProcess):


    def __init__(self):
        WPSProcess.__init__(self,
                            identifier = 'wps_simple_indice', # only mandatary attribute = same file name
                            title = 'c4i - Simple Climate Indices',
                            abstract = 'Computes single input indices of temperature TG, TX, TN, TXx, TXn, TNx, TNn, SU, TR, CSU, GD4, FD, CFD, ID, HD17; of rainfal: CDD, CWD, RR, RR1, SDII, R10mm, R20mm, RX1day, RX5day; and of snowfall: SD, SD1, SD5, SD50. This processes is also available in Climate4Impact and uses ICCLIM.',
                            version = "1.0",
                            metadata = [
                                {"title": "ICCLIM" , "href": "http://icclim.readthedocs.io/en/latest/"},
                                {"title": "Climate4Impact", "href": "http://climate4impact.eu/impactportal/general/index.jsp"},
                            ],
                            storeSupported = True,
                            statusSupported = True,
                            grassLocation =False)


        ## self.filesIn = self.addLiteralInput(identifier = 'files',
        ##                                        title = 'Input netCDF files list',
{'fraction_non_alphanumeric': 0.09216441875401413, 'fraction_numerical': 0.014450867052023121, 'mean_word_length': 1.7590788308237377, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5823285', 'n_tokens_mistral': 893, 'n_tokens_neox': 838, 'n_words': 240}