The following list of updates and bug fixes are included in the latest Sprint 26.06 release to the FEWS NET Data Platform.
Updates
Database optimization
-
Optimized GeographicUnitViewset database calls from Feature fields like Area and Centroid to eliminate runtime PostGIS calculation cost (DATA-5414)
-
Refactored the
is_region_fic_data_publishedquery to start fromDataSeriesrather thanDataCollectionto improve the performance of the task (DATA-5420) -
Optimized the Feature MVT endpoint (
/api/feature/{z}/{x}/{y}/) so requests for representative tiles complete in under 3 seconds (cold cache) (DATA-5422)
Data ingestion pipelines
-
Created a Dagster pipeline to ingest UNICEF nutrition data (DATA-5419)
-
Created a Dagster pipeline to ingest market prices from IFPRI (DATA-5296)
Rename CPI Data Source Documents to follow Market Prices standards (DATA-5103)
Standardized the names of the Consumer Price Index Data Source Documents to use Name, Country, Consumer Price Index, e.g., Banco Central de Honduras, Honduras, Consumer Price Index (December 1999 base period).
Ensure non-superusers do not have global permissions (DATA-5348)
Automatic checks confirm that non-superusers do not have global access permissions and alerts if global access permissions are assigned.
FDE updates
The following updates were made to the FEWS NET Data Explorer (FDE):
Global updates
-
Users can subscribe to the FDE release blogs using a button on the Latest release blogs card on the home page (DATA-5433)
-
Improved accessibility to ensure keyboard users can navigate to and access all items (DATA-5008)
Data Sources updates
-
Users can consistently navigate between Data Source pages and the Data Source search page using the breadcrumb links (DATA-5306)
Explore data updates
-
Topic page filters now have a cascading effect of geography to source documents (DATA-5418)
-
Data can be previewed on a map on the Crop topic page (DATA-5424)
Visualizations updates
-
Improved the style and functionality of the Visualization search result item (DATA-5055)
-
Visualization view page URLs now open the page rather than returning to search (DATA-5409)
Bugs
Fix serializer returning centroid for all geometry types (DATA-5464)
The /api/feature/ geojson API endpoint started returning point geometries by default instead of the stored polygon/multipolygon geometry. FeatureSerializer was updated to explicitly choose geometry for GeoJSON responses.
Fix Crop assessment dashboard (DATA-5489)
Fixed the functionality of the Crop Assessment Dashboard in FDW by removing deprecated maps and ensure the dashboard is aligned with Pandas 3 upgrade.
FDE bugs
The following bug fixes were released to the FEWS NET Data Explorer (FDE):
Data Sources bugs
-
The Data Sources Country filter showed Source Organization options. Country options are now available for the Country filter and populate correctly in a separate selected filter bucket (DATA-5481)
Explore data bugs
-
Users were able to select
with_attributeswhen extracting border points, markets and IDP camps from the Spatial topic page, resulting in a blank page. Thewith_attributesoption now displays dynamically based on the selected Geographic Unit type (DATA-4642) -
When clicking on a boundaries data fact from the Spatial topic page, the geometry was rendered as a point versus a boundary. The geometry is now displayed as expected (see DATA-5464 above for details) (DATA-5423)
Visualizations bugs
-
Updated the behavior of closing the Saved Visualization editor to return users to the Owned by me page instead of to the builder selection page (DATA-5428)
-
Fixed the keyword search for Visualizations to yield all matching Visualizations across Owned by Me and Favorites. The keyword is now cleared when navigating between tabs (DATA-5450)
-
Updated the Remote Sensing Map builder to allow users to specify a day in the date picker filter in order to select all periods of pentadal or dekadal data (DATA-5455)
-
There is inconsistent behavior when deleting a Visualization in FDE, resulting in the deleted Visualization card persisting after a user goes through the deletion process. The card is now removed after deletion as expected (DATA-5426)