Skip to content

Develop#155

Merged
profsergiocosta merged 3 commits into
mainfrom
develop
Jun 15, 2026
Merged

Develop#155
profsergiocosta merged 3 commits into
mainfrom
develop

Conversation

@profsergiocosta

Copy link
Copy Markdown
Contributor

No description provided.

profsergiocosta and others added 3 commits June 12, 2026 17:12
…rning

- sync_model.py: SyncRasterModel.synchronize() now takes arr[0] when a
  state variable is stored as (time, y, x) — happens when to_lucc_data()
  loads a variable that has temporal catalog entries. After the first step
  the model writes back 2D arrays so subsequent snapshots are 2D.
- io/raster.py: fill NaN/inf with the band nodata value before casting to
  integer dtype, eliminating the RuntimeWarning from float→int16 cast when
  raster arrays contain masked cells.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: handle temporal state vars in synchronize(); silence NaN cast wa…
@profsergiocosta profsergiocosta merged commit d250938 into main Jun 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant