<commit_before>from numpy import arange, meshgrid
from abc import ABCMeta, abstractmethod
from pyproj import Proj


class ModelGrid(metaclass=ABCMeta):
    """Creates a spatial grid"""
    def __init__(self):
        pass

    @abstractmethod # flags method that MUST be implemented by all subclasses
    def to_netCDF(self, filename):
        pass

    @property
    @abstractmethod
    def _convert_to_CS(self):
        pass

    def __repr__(self):
        return f"{self.__class__.__name__}, Abstract base class for model grids."


class SeNorgeGrid(ModelGrid):
    def __init__(self):
        super(ModelGrid, self).__init__()

        # lower left corner in m<commit_msg>started implementing a senorgeGrid class.<commit_after>from numpy import arange, meshgrid
from abc import ABCMeta, abstractmethod
from pyproj import Proj


class ModelGrid(metaclass=ABCMeta):
    """Creates a spatial grid"""
    def __init__(self, parameter: str):
        self.parameter = parameter

    @abstractmethod # flags method that MUST be implemented by all subclasses
    def to_netCDF(self, filename):
        pass

    @property
    @abstractmethod
    def _convert_to_CS(self):
        pass

    def __repr__(self):
        return f"{self.__class__.__name__}, Abstract base class for model grids."


class SeNorgeGrid(ModelGrid):
    def __init__(self):
        super(ModelGrid, self).__init__(parameter)

        # lower left corner in m
{'fraction_non_alphanumeric': 0.07767669699090272, 'fraction_numerical': 0.0, 'mean_word_length': 3.3202416918429005, 'pattern_counts': {'":': 0, '<': 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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6134647', 'n_tokens_mistral': 419, 'n_tokens_neox': 401, 'n_words': 132}