model2roms
model2roms copied to clipboard
Support with lat lon coordinates
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.
It should be in the order you suggest: south, north, west, east. But to be honest I have not used that functionality for years so test and make sure the output fit with what you expect. Cheers, Trond
Sent from Outlook for iOShttps://aka.ms/o0ukef
From: Luís Felipe Mendonça @.> Sent: Thursday, December 15, 2022 3:53:59 PM To: trondkr/model2roms @.> Cc: Subscribed @.***> Subject: [trondkr/model2roms] Support with lat lon coordinates (Issue #17)
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.
— Reply to this email directly, view it on GitHubhttps://github.com/trondkr/model2roms/issues/17, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA32XA3MNSKGXTV7XAJR5F3WNOVRPANCNFSM6AAAAAATAJSVUY. You are receiving this because you are subscribed to this thread.Message ID: @.***>