Skip to content

Update BrasilData to 0.1.75 - #86

Merged
giswqs merged 1 commit into
opengeos:mainfrom
elpidioassinaturas:brasildata-0.1.75
Nov 26, 2026
Merged

giswqs merged 1 commit into
opengeos:mainfrom
elpidioassinaturas:brasildata-0.1.75

Conversation

@elpidioassinaturas

@elpidioassinaturas elpidioassinaturas commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Plugin: BrasilData (brasildata), elpidioassinaturas/BrasilData

What it does: this updates registry/brasildata.json from 0.1.72 to 0.1.75. Nothing else changes.

Supersedes #85 (0.1.74, still open): merging this one is enough, and #85 can then be closed. Both change the same two lines, so whichever is merged second will conflict. The 0.1.73 and 0.1.74 changes are in #85.

Unchanged: the permissions (edit, files, network), the minimum RustGIS (0.5.0) and the categories.

0.1.75: the BAM forecast of CPTEC/INPE

  • BAM forecast (CPTEC/INPE), new: rain or mean temperature over 1 to 10 days from the Brazilian Global Atmospheric Model (BAM, TQ0666L064, about 20 km), the global forecast model of Brazil's National Institute for Space Research (Figueroa et al. 2016, doi:10.1175/WAF-D-16-0062.1).
    • Read from CPTEC's data server, the 00 UTC run: the latest or a past one (the server keeps them from 01/01/2025).
    • Each 6-hour record (about 4 MB) is downloaded on its own from the 1.6 GB global GRIB files, with layer.addUrl and "bytes" from the file's inventory. It is then clipped around the working area, summed or averaged, put on the project grid and clipped by the outline. Needs RustGIS 0.8.0, and a working area.
    • The colours and scales of rain are those of the plugin's other forecast.
    • Known issue: in the 0.8.0 desktop app, the command finishes only about 10 minutes after the records land, when the app gives up waiting for them. The fix is fix(plugins): a GRIB byte range a plugin command asked for lands for it (#2428) RustGIS#3003. The command line isn't affected.
  • Layout, fixed: the sources table (BrasilData: fontes) could be taken as the map's main layer.
  • Tests:
    • cargo test (265 tests) passes; the smoke test of every command has 0 failures in rustgis-cli 0.5.0 and 0.8.0.
    • With rustgis-cli 0.8.0 and an earlier build of this version: rain and temperature over Minas Gerais, and 5 days of rain over Brazil (the example map). The temperature comes in kelvin in RustGIS and is converted. One day's rain over Minas Gerais (8.8 mm on average) matches an independent reading of the same records with GDAL (8.6 mm).
    • In the desktop app built from RustGIS#3003: the same Minas Gerais run, finished in under a minute.

Not tested: the 0.8.0 desktop app all the way through (the 10-minute wait comes from reading its code), and the web app. The web app doesn't download a range of a file from another site yet.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • Updated the BrasilData integration to version v0.1.75 and refreshed its package verification information. This change updates the release available through the registry; no user-facing interface or workflow changes are included. The update is limited to the integration’s published release details and does not alter how the integration is used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The BrasilData registry entry now points to release v0.1.75. Its SHA-256 checksum is updated.

Changes: BrasilData release update

Layer / File(s) Summary
Update registry artifact
registry/brasildata.json
The source URL now targets the v0.1.75 plugin artifact. The SHA-256 checksum is updated.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Feature

Merge Risk: Minimal · up to 2d3bb

This updates the BrasilData registry entry to v0.1.75 with a matching checksum. The package digest was verified. The author discloses that the new forecast has not been tested end-to-end in the released 0.8.0 desktop app or in the web app, which is worth knowing but is not a defect in this entry.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Description check Inconclusive The description covers the plugin name and repository, what the change does, the supersession of PR #85, unchanged fields, and detailed testing (RustGIS versions, CLI and desktop results, known issues… Mark the two template checklist items. Confirm that source.url is a release asset of elpidioassinaturas/BrasilData for v0.1.75 and that its sha256 matches that file. Confirm that the plugin asks only for the permissions it uses (edit, files…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "Update BrasilData to 0.1.75" matches the only change in the diff, which bumps registry/brasildata.json from v0.1.72 to v0.1.75 with an updated SHA-256. It is specific and concise, and a tea…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Update BrasilData to 0.1.75" matches the only change in the diff, which bumps registry/brasildata.json from v0.1.72 to v0.1.75 with an updated SHA-256. It is specific and concise, and a teammate scanning history would understand the primary change.

Full details: Description check

Explanation

The description covers the plugin name and repository, what the change does, the supersession of PR #85, unchanged fields, and detailed testing (RustGIS versions, CLI and desktop results, known issues). It does not follow the template's required wording exactly, and it does not explicitly tick or confirm the two checklist items: that source.url is a release asset of the plugin repository with a matching sha256, and that the plugin requests only the permissions it uses. The description says permissions are unchanged but does not confirm the checklist items.

Resolution

Mark the two template checklist items. Confirm that source.url is a release asset of elpidioassinaturas/BrasilData for v0.1.75 and that its sha256 matches that file. Confirm that the plugin asks only for the permissions it uses (edit, files, network). Use the template's How I tested it heading with the RustGIS version and the app type (desktop / web / CLI) tested.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the registry line,
A newer release now shines.
The checksum matches the artifact,
Each digit plays its part.
The rabbit hops beneath the moon,
Then curls up, content, quite soon.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: d00683a6-7e7a-4ccc-9339-ed3ecb626a07
Commits

Reviewing files that changed from the base of the PR and between aab0f7e and 2d3bb85.

Files selected for processing: 1

  • registry/brasildata.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@github-actions

Copy link
Copy Markdown

Code review

Bugs

  • None found in the diff. It changes only the source.url and source.sha256 in registry/brasildata.json. The URL version (v0.1.75) matches the version in the package's plugin.json (0.1.75) and the id matches. (high confidence)

Security

  • Package commands named in strings include layer.remove, edit.deleteField, edit.calculateField, share.exportLayer, layer.addUrl and gp.run. These are broad for a data-loading plugin, but they fit a plugin that builds, styles and replaces its own layers and exports them. The WebAssembly code can't be read here, so I can't tell which layers or fields the removals target. A maintainer should confirm layer.remove/edit.deleteField only touch layers or fields the plugin created. (low confidence)
  • module.txt names an api.github.com/.../releases/latest URL, so the plugin likely checks for updates. The network permission covers this. (low confidence, informational)
  • The new BAM forecast reads dataserver.cptec.inpe.br with layer.addUrl and byte ranges. This is consistent with the network permission and the description. (informational)

Performance

Quality

CLAUDE.md

  • No CLAUDE.md issues for this change. The PR is a registry entry only, with no plugin source added.

Plugin packages

id version runtime package size module size permissions module imports commands named in strings
brasildata 0.1.75 wasm 6,025,285 B 10,228,285 B edit, files, network rustgis.call, rustgis.result, rustgis.log analysis.simulate, edit.addField, edit.calculateField, edit.deleteField, edit.enable, gp.run, group.add, host.addLayer, host.features, host.layers, host.notify, host.view, info.commands, info.project, labels.enable, labels.field, labels.placement, labels.scaleRange, labels.style, layer.addUrl, layer.addZarr, layer.classStyle, layer.color, layer.definitionQuery, layer.displayFilters, layer.fields, layer.mask, layer.move, layer.moveDown, layer.outline, layer.remove, layer.rename, layer.scaleRange, layer.select, layer.symbology, layer.template, layer.visibility, layer.zoomTo, layout.remove, layout.update, map.addTiles, map.projection, map.removeTiles, map.tiles, ramp.add, raster.change, raster.function, raster.functionChain, raster.georeference, raster.info, raster.mask, raster.mosaic, raster.process, raster.stretch, raster.symbology, select.byAttributes, select.clear, select.layerFromSelection, service.add, share.exportLayer, style.add, style.apply, style.import, style.new, style.remove, table.open, table.remove, tool.set

Assessment:

  • Package and interface: The package was downloaded and unpacked, and the report says its hash was verified. The module imports only rustgis.call, rustgis.result and rustgis.log, and exports memory, rustgis_alloc and rustgis_call, as required.
  • Manifest: The id, name and version match the registry entry. Note that the manifest's entry is plugin.wasm, and the package's files are plugin.json and plugin.wasm.
  • Source: The homepage leads to https://github.com/elpidioassinaturas/BrasilData. The module is compiled and can't be read here, so I reviewed only the manifest and the strings.
  • Permissions: The edit, files and network permissions are unchanged from 0.1.72 and match what the description says: it loads many public Brazilian data sources and styles and exports layers.
  • URLs: The URLs in module.txt point at public data services. These include IBGE, INPE/CPTEC, Open-Meteo, NASA/ASF/CMR, Copernicus, CHIRPS, source.coop and S3 buckets. I saw nothing suspicious. The files command share.exportLayer deserves a maintainer check that it writes only to a path the user picks. I can't verify that here.
  • Overall: I found nothing blocking. The risk is residual: the module is a compiled binary, and the destructive commands named in its strings can't be confirmed as limited to its own layers.

Change size

Compared: the whole PR against main (merge base aab0f7e to PR head 2d3bb85).

Metric Value
Files changed 1 (0 added, 1 modified, 0 removed, 0 renamed)
Size before 275 B
Size after 275 B
Total size change +0 B
File Size before Size after Change
registry/brasildata.json 275 B 275 B +0 B

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

🧩 Plugin preview

Removed: the pull request is closed.

@giswqs
giswqs merged commit 8be4939 into opengeos:main Nov 26, 2026
6 checks passed
This was referenced Nov 26, 2026
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.

3 participants