Fix WorldBank urls and outdated data usage#1292
Conversation
* Fix TCTracks.from_FAST duplicate loading from year loop * Refactor test_from_FAST: extend fixture to 2 years, remove separate regression test The test fixture FAST_test_tracks.nc now has year=[2025,2026] (only seeds_per_month is extended; track variables retain their n_trk dim). The existing len(tc_track.data)==5 assertion now acts as the regression check: the buggy year-loop code would return 5x2=10 tracks. The separate test_from_FAST_not_multiplied_by_year_dim (with its temporary-file scaffolding) is removed. * Update changelo --------- Co-authored-by: Simona Meiler <simona.meiler@usys.ethz.ch> Co-authored-by: Chahan Kropf <chahan.kropf@posteo.com>
|
@emanuel-schmid or @peanutfun, this should be a quick one to review. And will fix some of the currently failing tests. |
|
There are some administrative regions, which lead to an error when trying to create LitPop for them. Please find the code how to determine these below. `country_names = global_litpop.gdf.region_id.unique() info_ind = "NY.GDP.MKTP.CD" for cntry_iso in iso3a_list: failing_c = [] |
Changes proposed in this PR:
This PR fixes #1291 and #1293
PR Author Checklist
develop)PR Reviewer Checklist