Skip to content

Update BrasilData to 0.1.74 - #85

Closed
elpidioassinaturas wants to merge 1 commit into
opengeos:mainfrom
elpidioassinaturas:brasildata-0.1.74
Closed

elpidioassinaturas wants to merge 1 commit into
opengeos:mainfrom
elpidioassinaturas:brasildata-0.1.74

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.74. Nothing else changes.

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

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

0.1.74: GRACE drought indicators

  • Drought: soil moisture and groundwater (GRACE, NASA), new: NASA's weekly drought indicators from the GRACE and GRACE-FO data assimilation (GRACE-DA-DM Global 3.0), as distributed by the National Drought Mitigation Center (nasagrace.unl.edu).
    • Three indicators: root zone soil moisture, groundwater and surface soil moisture.
    • The values are wetness percentiles against 1948–2012, at 0.25°, in the classes and colours of NASA's maps.
    • Any week from 03/02/2003 to the latest, which the server's folder listing gives. The default is the latest week.
    • In a working area, only its window is read from the global GeoTIFF (about 0.9 MB), and the layer is masked by the outline; with no area, the whole world. No login.
    • The server sends no CORS headers, so the command is for the desktop app.
  • Example map note: the addresses card now says that its example map was made apart from the Layout button.
  • Tests:
    • cargo test (261 tests) passes; the smoke test of every command has 0 failures.
    • In rustgis-cli 0.8.0, with the packaged plugin: Minas Gerais, Brazil, area changes, and the addresses still working; Brazil again with the released file, equal to the earlier test.
    • With an earlier build: Viçosa, the world, 2015, a week the server lacks, dates outside the series, a repeated click and the Layout button. The values match NASA's file cell by cell over Brazil.
    • In the RustGIS 0.8.0 desktop window, before the version number: Minas Gerais at the latest week, groundwater on a past date, and a repeated click.

0.1.73: the addresses of the 2022 census

  • Addresses (IBGE, CNEFE 2022), new: a point per address with its street, number and postcode, from the addresses theme of Overture Maps (IBGE's CNEFE, through AddressForAll and OpenAddresses), 89.9 million in Brazil.
    • Read in place by RustGIS 0.7.0 or newer, a view at a time, with no login. Two classes (with and without a number), shown from 1:50,000 and closer, the numbers from 1:3,000, masked by the working area.
    • Up to 8 files per area (Minas Gerais takes 8); the whole country (14) is refused with a message.
  • Streets and roads (OpenStreetMap), fixed: on a new working area the layer could keep the previous area's file, as the two had the same name. The new files are now opened first, and take the old layers' names once all have arrived.
  • Tests:
    • cargo test (258 tests) passes; the smoke test of every command has 0 failures.
    • In rustgis-cli 0.8.0, with the packaged plugin: Viçosa, Altamira, Uruguaiana and Minas Gerais, area changes there and back, the same for the streets (Viçosa to Recife), and the refusal of Brazil; Viçosa to Uruguaiana again with the released file. With an earlier build: São Paulo, and the border at Livramento, where the Uruguayan addresses stay hidden.
    • In the RustGIS 0.8.0 desktop window, before the version number: Viçosa, the pop-up, a repeated click, Viçosa to the Altamira microregion for addresses and streets, and the refusal of Brazil.

Not tested: the web app, in both versions (for GRACE, the server's missing CORS headers should stop it).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • Updated the Brasildata registry entry from plugin release v0.1.72 to v0.1.74 and replaced its checksum with the one associated with the newer release. No other user-facing changes are included.

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 plugin release v0.1.74 and uses its SHA-256 checksum.

Changes: BrasilData release update

Layer / File(s) Summary
Update the release reference
registry/brasildata.json
The download URL now points to release v0.1.74. The entry uses that release’s SHA-256 checksum.

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

Change: Feature

Merge Risk: Minimal · up to 632b5

This updates the BrasilData registry entry to release 0.1.74. The release asset downloads and its checksum matches, so no merge-blocking risk remains.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description does not follow the repository template as written. It has the Plugin, What it does, and How I tested it fields, but the How I tested it field names the tests and RustGIS desktop and C… 1. Check both boxes in the template, or state why either does not apply. Confirm that source.url points to the v0.1.74 release asset in elpidioassinaturas/BrasilData and that sha256 matches that file. Confirm that the plugin asks only for e…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "Update BrasilData to 0.1.74" names the main change: the registry entry for the brasildata plugin moves from v0.1.72 to v0.1.74. It is specific, concise, and matches the two-line diff in reg…
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.74" names the main change: the registry entry for the brasildata plugin moves from v0.1.72 to v0.1.74. It is specific, concise, and matches the two-line diff in registry/brasildata.json.

Full details: Description check

Explanation

The description does not follow the repository template as written. It has the Plugin, What it does, and How I tested it fields, but the How I tested it field names the tests and RustGIS desktop and CLI runs without stating the RustGIS version in the template form. Both checklist items remain unchecked. The first item requires that source.url is a release asset of the plugin's repository and that sha256 is that file's checksum. The description does not confirm either point. The description also covers a second change, 0.1.73, that the diff does not contain. The description describes the 0.1.73 addresses feature and the OpenStreetMap fix, but the raw summary and objectives describe a 0.1.72 to 0.1.74 change only. The author should split or clarify the scope.

Resolution

  1. Check both boxes in the template, or state why either does not apply. Confirm that source.url points to the v0.1.74 release asset in elpidioassinaturas/BrasilData and that sha256 matches that file. Confirm that the plugin asks only for edit, files, and network. 2. Remove the 0.1.73 section, or state that it belongs to PR #83. The 0.1.73 content is not part of this diff. 3. Under How I tested it, state the RustGIS version and the platform for each test. The description gives the RustGIS 0.8.0 desktop and rustgis-cli 0.8.0 results, but it should name each platform in the template form. 4. Remove or shorten the 'Generated with Claude Code' footer, which is not part of the template.
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,
The newer release is in place,
Its checksum joins the download link,
Two small updates, neat and fine,
Then hops away at a steady pace.

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: 0f465edd-0fa8-449c-b7c6-c185461ed58f
Commits

Reviewing files that changed from the base of the PR and between aab0f7e and 632b573.

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. The diff changes only the URL and SHA-256 in registry/brasildata.json. Both point at the v0.1.74 release asset, and the report shows the package was downloaded and its hash verified. (high)

Security

  • The plugin's plugin.json has the same id, name and version (0.1.74) as the entry. The permissions are unchanged (edit, files, network). The module imports only rustgis.call, rustgis.result and rustgis.log, and exports memory, rustgis_alloc and rustgis_call. (high)
  • The new grace-seca command says it reads NASA GRACE data from nasagrace.unl.edu, but I found no nasagrace string in module.txt. The address may be built at run time, so the module's network target for this feature could not be confirmed here. A maintainer could confirm it from the source repository. (low)
  • The commands named in strings are broad: layer.remove, edit.deleteField, table.remove, style.remove, layout.remove, share.exportLayer and layer.addUrl. They fit a data-import plugin that replaces its own layers, but I cannot read the compiled module to see which layers or files each one touches. The PR does not change the permissions, so this was already the case before. (low)
  • The module's URLs point at many third-party services, for example ASF, Open-Meteo, the Copernicus Data Space, INPE, IBGE and ANM. The plugin's plugin.json description names these data providers. It also contains api.github.com/repos/elpidioassinaturas/BrasilData/releases/latest, which looks like an update check. (medium)

Performance

  • The package is 6.0 MB and the module is 10.2 MB. This is large but not a regression I can judge from the diff.

Quality

  • The description in plugin.json lists the data providers but does not mention NASA GRACE or the University of Nebraska–Lincoln's National Drought Mitigation Center, even though the new command uses them. (low)
  • This PR supersedes Update BrasilData to 0.1.73 #83, which changes the same two lines. Update BrasilData to 0.1.73 #83 should be closed when this is merged. (info)
  • The source is reachable at https://github.com/elpidioassinaturas/BrasilData, which is the homepage in plugin.json. The registry entry itself has no homepage or repository field.

CLAUDE.md

  • Nothing applicable. The PR contains only a registry entry, with no plugin source code in this repository.

Plugin packages

id version runtime package module permissions module imports commands named in strings
brasildata 0.1.74 wasm 6,012,586 B 10,185,925 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 of brasildata: the package was inspected and the interface is valid. The manifest matches the entry. The WebAssembly module is compiled, so its code could not be read; this review rests on the manifest, the interface and the strings. The permissions are unchanged and fit a data-download plugin. The network and files permissions are expected for it. Nothing in the strings contradicts the stated purpose, apart from the GRACE address I could not find (see Security).

Change size

Compared: the whole PR against main (merge base aab0f7e to PR head 632b573).

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 Before 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.

This was referenced Nov 26, 2026
@elpidioassinaturas

Copy link
Copy Markdown
Contributor Author

Superseded by #86 (BrasilData 0.1.75), which includes the 0.1.74 changes.

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.

2 participants