Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sirmmo committed Nov 12, 2024
1 parent b925f93 commit e013af0
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/app/components/DownloadDataDialog/debug.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
[1112/140102.193:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/140116.382:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/142012.636:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/152657.945:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/154406.580:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
2 changes: 2 additions & 0 deletions src/app/components/Map/debug.log
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
[1014/181638.820:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/141646.611:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/141652.092:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/152823.029:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/152826.226:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
8 changes: 4 additions & 4 deletions src/app/components/TimeSeriesDialog/DownloadForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ export const DownloadForm = props => {
ids: ids.current,
latitude: latLng.lat,
longitude: latLng.lng,
start: timeRange?.current?.start,
end: timeRange?.current?.end,
start: timeRange?.current?.start || 0,
end: timeRange?.current?.end || 124,
fitms: filter,
sfs: filter.current?.series?.flat(),
};
Expand Down Expand Up @@ -218,8 +218,8 @@ export const DownloadForm = props => {
ids: ids.current,
latitude: latLng.lat,
longitude: latLng.lng,
start: timeRange?.current?.start,
end: timeRange?.current?.end,
start: timeRange?.current?.start || 0,
end: timeRange?.current?.end || 124,
fitms: filter,
sfs: filter.current?.series?.flat(),
};
Expand Down
6 changes: 5 additions & 1 deletion src/app/components/TimeSeriesDialog/TSDataContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,10 @@ const TSDataContainer = (props: TSDataContainerProps) => {
sensorProcessingMehtod,
uv,
);
setTimeRange({
start: 0,
end: 2100 - baseValue,
});
},
},
saveAsImage: {
Expand Down Expand Up @@ -922,7 +926,7 @@ const TSDataContainer = (props: TSDataContainerProps) => {
: currentLayer?.unit_italian) || '',
nameTextStyle: {
align: 'center',
padding: 15,
padding: 5,
},
},
dataZoom: [
Expand Down
3 changes: 3 additions & 0 deletions src/app/components/TimeSeriesDialog/debug.log
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@
[1112/144110.630:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/144707.673:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/144717.440:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/152828.359:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/152835.150:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/154411.266:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
2 changes: 1 addition & 1 deletion src/app/components/TimeSeriesDialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const TimeSeriesDialog = (props: TimeSeriesDialogProps) => {
<Grid xs={1} />
<Grid xs={22}>
<Typography variant={'h6'} sx={TitleTSStyle}>
{t('app.header.acronymMeaning')}
{t('app.header.timeseries')}
</Typography>
</Grid>
<Grid xs={1} sx={CloseIconContStyle}>
Expand Down
1 change: 1 addition & 0 deletions src/app/pages/IndexPage/debug.log
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
[1112/140649.331:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/144909.846:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/144919.001:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/152819.145:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
1 change: 1 addition & 0 deletions src/locales/it/debug.log
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[0925/121957.341:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
[1112/154545.360:ERROR:registration_protocol_win.cc(108)] CreateFile: Impossibile trovare il file specificato. (0x2)
1 change: 1 addition & 0 deletions src/locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"app.error.dlTimeSeries": "Errore nel download dei dati.",
"app.error.dlNetcdf": "Errore nel download del NetCDF.",
"app.header.acronymMeaning": "Piattaforma Clima Nord-Est",
"app.header.timeseries": "Modulo Serie Temporale",
"app.header.menu.info": "Info e avvertenze",
"app.header.menu.privacyPolicy": "Privacy Policy",
"app.header.menu.dataPolicy": "Data Policy",
Expand Down

0 comments on commit e013af0

Please sign in to comment.