Commit History

Performance optimization: remove slow pyproj Lambert (200s→30s); use fast eccodes lat/lon arrays with linear interpolation; balanced=stride2 default; high=stride1 full res
96a768d

nakas Claude commited on

Fix alignment: implement proper Lambert conformal reprojection using pyproj with RRFS sphere (R=6371229m); extract projection params from GRIB; eliminate griddata artifacts
dbaa9f0

nakas Claude commited on

Maximum quality & perfect alignment: stride=1 for high quality (no decimation); full RRFS NA 1799x1059 resolution; remove dynamic source decimation; cubic interpolation for Lambert→Lat/Lon; max_points=2.5M
47d4e13

nakas Claude commited on

High quality: set high=stride2 @1600x1200; dynamic source decimation tied to target grid; linear interpolation with NaN alpha to remove edge streaks
fb2f509

nakas commited on

Fix: add quality_to_stride_and_grid helper; enable quality presets for stride/grid without NameError
e0d90cf

nakas commited on

Quality control: add fast/balanced/high; cache stride and render grid configurable; mask fill values; use nearest interpolation; pass quality through UI
867c7fa

nakas commited on

NA alignment cache: build once lat/lon arrays for RRFS NA grid (decimated) and reuse for fast, accurate placement; no repeated heavy arrays
026a0b1

nakas commited on

Alignment: resample via ecCodes lat/lon arrays with early decimation for NA; prefer accurate arrays path over bbox; adjust target grid to 480x360
506adb0

nakas commited on

Leaflet: render map inside iframe; normalize longitudes for field-based interpolation; add cfgrib-unfiltered attribute search fallback
f113972

nakas commited on

Render Leaflet via iframe data URI to allow JS execution in Gradio HTML; should display overlay reliably
e2eed5c

nakas commited on

Add detailed logging and Debug Log panel; log NA slice ranges, parse path, extents, and timings; compute exact GRIB slice length
3ceb883

nakas commited on

Map: normalize bbox longitudes to [-180,180] for correct Leaflet positioning of NA overlay
2f987d9

nakas commited on

Fix UnboundLocalError: always set REFC lines for NA and non-NA paths; use unified refc_lines in return
90b5db0

nakas commited on

NA 404 fix: resolve NA key by testing multiple official patterns and verifying .idx contains REFC; avoid slicing when file absent
32e653b

nakas commited on

Visualization: drop ecCodes lat/lon arrays path; use fast bbox-based rendering fallback for sliced NA
5073814

nakas commited on

Visualization: ecCodes fallback now uses latitudes/longitudes arrays and values; render via interpolation path for reliable NA overlay
274dc75

nakas commited on

NA robustness: if sliced single-message file, parse first GRIB with ecCodes without requiring shortName; improved Nx/Ny detection and bbox fallback
4c68eff

nakas commited on

NA: slice only first REFC message via HTTP Range for reliable parsing; reduces file size and avoids cfgrib/eccodes edge cases
851ed1d

nakas commited on

Fix REFC visualization: fallback to ecCodes if cfgrib yields empty dataset; robust rendering for NA and small domains
fe6040f

nakas commited on

Spaces config: drop sdk_version to fix 'Gradio version does not exist'
ff97c77

nakas commited on

Add Hugging Face Spaces metadata to README (YAML front matter)
b5616c1

nakas commited on

Add NA (North America) support: use prslev.3km and slice REFC via HTTP Range; decimate large grids for fast Leaflet rendering
6438f1b

nakas commited on

Add RRFS REFC downloader + Gradio app with Leaflet overlay (REFC), NOAA S3 source; ignore data/ and GRIB files
e63bfab

nakas commited on

initial commit
1b909aa
verified

nakas commited on