Skip to content

Commit

Permalink
Finding out why no data WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisblake committed Jul 19, 2023
1 parent 35be719 commit 6cb4302
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyaerocom/aeroval/coldatatojson_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ def _init_site_coord_arrays(data):

def _get_stat_regions(lats, lons, regions):
regs = []
for (lat, lon) in zip(lats, lons):
for lat, lon in zip(lats, lons):
reg = find_closest_region_coord(lat, lon, regions=regions)
regs.append(reg)
return regs
Expand Down Expand Up @@ -857,11 +857,9 @@ def _process_map_and_scat(

# Code for the calculation of trends
if add_trends and freq != "daily":

(start, stop) = _get_min_max_year_periods([per])

if stop - start >= trends_min_yrs:

try:
time = subset.data.time.values
(obs_trend, mod_trend) = _make_trends(
Expand Down

0 comments on commit 6cb4302

Please sign in to comment.