Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions web/src/layers/cape.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { WEATHER_BASE } from '../config';
import type { CapeTexIndex } from '../generated/weather';
import { nearestStep } from '../Timeline';
import { age } from '../weather';
import { CapeRasterLayer } from './capeRasterLayer';
import { CapeRasterLayer } from './scalarRasterLayer';
import { Swatch } from './swatch';
import type { WeatherLayer } from './types';

Expand All @@ -30,8 +30,8 @@ export const cape: WeatherLayer<CapeTexIndex> = {
new CapeRasterLayer({
id: 'cape-raster',
image: `${WEATHER_BASE}/weather/capetex/${idx.snapshotMs}/${step}.png`,
capeMin: idx.capeMin,
capeMax: idx.capeMax,
min: idx.capeMin,
max: idx.capeMax,
opacity: ctx.ui.opacity ?? 0.5,
}),
];
Expand Down
152 changes: 0 additions & 152 deletions web/src/layers/capeRasterLayer.ts

This file was deleted.

6 changes: 3 additions & 3 deletions web/src/layers/precip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { WEATHER_BASE } from '../config';
import type { CityTileIndex, RefcTexIndex } from '../generated/weather';
import { nearestStep } from '../Timeline';
import { age } from '../weather';
import { RefcRasterLayer } from './refcRasterLayer';
import { RefcRasterLayer } from './scalarRasterLayer';
import { Swatch } from './swatch';
import type { WeatherLayer } from './types';

Expand Down Expand Up @@ -74,8 +74,8 @@ export const precip: WeatherLayer<PrecipData> = {
new RefcRasterLayer({
id: 'precip-forecast',
image: `${WEATHER_BASE}/weather/refctex/${r.refc.snapshotMs}/${r.step}.png`,
dbzMin: r.refc.dbzMin,
dbzMax: r.refc.dbzMax,
min: r.refc.dbzMin,
max: r.refc.dbzMax,
opacity,
}),
];
Expand Down
153 changes: 0 additions & 153 deletions web/src/layers/refcRasterLayer.ts

This file was deleted.

Loading