trondkr/model2roms

Support with lat lon coordinates

Opened this issue · 1 comments

Good Morning brow,

Thank you for your excelent job. This code is amazing.

I have a one simple question about your code. In...

def define_subset_for_indata(self):
# Subset the input data. The more you subset the less memory is needed for calculations
# and the faster the process is performed. The subset is initially performed in IOsubset.py
subset = np.zeros(4)

    if self.outgrid_name == "NS8KM":
        return subset[40, 70, -30, 40]

    elif self.outgrid_name == "A20":
        return subset[30, 90, -179, 360]
    else:

What is the coordinates order? south, north, west, east?

Best regards.