def get_nearest_indices(self, latitude, longitude):
<EOL>idx_lat = int(round((latitude - <NUM_LIT>) / self.delta_lat))<EOL>if idx_lat < <NUM_LIT:0>:<EOL><INDENT>idx_lat = <NUM_LIT:0>  <EOL><DEDENT>elif idx_lat > self.lat_size:<EOL><INDENT>idx_lat = self.lat_size  <EOL><DEDENT>longitude = longitude % <NUM_LIT><EOL>idx_lon = int(round(longitude / self.delta_lon)) % self.lon_size<EOL>return idx_lat, idx_lon<EOL>
Get nearest indices to (latitude, longitude).

Parmaeters
----------
latitude : float
    Latitude in degrees
longitude : float
    Longitude in degrees

Returns
-------
idx_lat : int
    index of nearest latitude
idx_lon : int
    index of nearest longitude