Skip to content

Commit

Permalink
Merge pull request #341 from e-picsa/content/2024-10
Browse files Browse the repository at this point in the history
Content: ZM downscaled forecasts
  • Loading branch information
chrismclarke authored Oct 25, 2024
2 parents b6ad6e5 + ce5dcbb commit 295f9b2
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/picsa-apps/extension-app-native/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "io.picsa.extension"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 3049000
versionName "3.49.0"
versionCode 3049001
versionName "3.49.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
5 changes: 3 additions & 2 deletions apps/picsa-tools/climate-tool/src/app/data/stations/zm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ const stations: IStationMeta[] = [
{
id: 'chipepo_met',
name: 'CHIPEPO MET',
latitude: -17.33,
longitude: 28.38,
// NOTE - Manually overridden, should keep override until climsoft corrected
latitude: -15.79,
longitude: 28.14,
district: 'GWEMBE',
},
{
Expand Down
87 changes: 86 additions & 1 deletion libs/data/resources/forecasts/zm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,91 @@ const seasonal: IForecastStorageEntry[] = [
},
];

export const downscaled: IForecastStorageEntry[] = [];
export const downscaled: IForecastStorageEntry[] = [
{
id: '8067b33b-dca9-47cc-9296-fb42b0ec5f54',
bucket_id: 'zm',
name: 'forecasts/downscaled/CINYANJA SEASONAL RAINFALL FORECAST YA CHIPATA DISTRICT 2024.pdf',
owner: '',
created_at: '2024-10-25 09:59:27.62489+00',
updated_at: '2024-10-25 09:59:27.62489+00',
last_accessed_at: '2024-10-25 09:59:27.62489+00',
metadata: {
eTag: '73ebdbac756a8eb4e75cb3b2dea34a33-1',
size: 556821,
mimetype: 'application/pdf',
cacheControl: 'max-age=3600',
lastModified: '2024-10-25T09:59:28.000Z',
contentLength: 556821,
httpStatusCode: 200,
},
path_tokens: ['forecasts', 'downscaled', 'CINYANJA SEASONAL RAINFALL FORECAST YA CHIPATA DISTRICT 2024.pdf'],
version: 'f66a3d8a-dee8-43f6-8715-4c3d5e2aba51',
owner_id: '',
},
{
id: '23938706-cea7-4c9e-b199-961d17b4be9a',
bucket_id: 'zm',
name: 'forecasts/downscaled/CINYANJA SEASONAL RAINFALL FORECAST YA PETAUKE DISTRICT 2024.pdf',
owner: '',
created_at: '2024-10-25 09:59:30.722051+00',
updated_at: '2024-10-25 09:59:30.722051+00',
last_accessed_at: '2024-10-25 09:59:30.722051+00',
metadata: {
eTag: 'b8a95f80f88b3083193fd1de1d2c3dfb-1',
size: 565672,
mimetype: 'application/pdf',
cacheControl: 'max-age=3600',
lastModified: '2024-10-25T09:59:31.000Z',
contentLength: 565672,
httpStatusCode: 200,
},
path_tokens: ['forecasts', 'downscaled', 'CINYANJA SEASONAL RAINFALL FORECAST YA PETAUKE DISTRICT 2024.pdf'],
version: '9a29fb0c-75b1-4612-a506-2508b2aab0ed',
owner_id: '',
},
{
id: '37b86bd1-f8a1-4709-8fd2-d2e6b8dc7294',
bucket_id: 'zm',
name: 'forecasts/downscaled/SEASONAL RAINFALL FORECAST FOR CHIPATA DISTRICT 2024.pdf',
owner: '',
created_at: '2024-10-25 09:59:15.267263+00',
updated_at: '2024-10-25 09:59:15.267263+00',
last_accessed_at: '2024-10-25 09:59:15.267263+00',
metadata: {
eTag: '37d023ca77636f9baeb62ff425328553-1',
size: 250740,
mimetype: 'application/pdf',
cacheControl: 'max-age=3600',
lastModified: '2024-10-25T09:59:15.000Z',
contentLength: 250740,
httpStatusCode: 200,
},
path_tokens: ['forecasts', 'downscaled', 'SEASONAL RAINFALL FORECAST FOR CHIPATA DISTRICT 2024.pdf'],
version: '7366cdd9-1749-4e99-a774-3ffea0da08b6',
owner_id: '',
},
{
id: '9f4fd23f-d1c8-474f-aacc-f15d5aec4da9',
bucket_id: 'zm',
name: 'forecasts/downscaled/SEASONAL RAINFALL FORECAST FOR PETAUKE DISTRICT 2024.pdf',
owner: '',
created_at: '2024-10-25 09:59:17.786206+00',
updated_at: '2024-10-25 09:59:17.786206+00',
last_accessed_at: '2024-10-25 09:59:17.786206+00',
metadata: {
eTag: '3778409294e650524ee43a948f1feafe-1',
size: 260681,
mimetype: 'application/pdf',
cacheControl: 'max-age=3600',
lastModified: '2024-10-25T09:59:18.000Z',
contentLength: 260681,
httpStatusCode: 200,
},
path_tokens: ['forecasts', 'downscaled', 'SEASONAL RAINFALL FORECAST FOR PETAUKE DISTRICT 2024.pdf'],
version: 'ec0d18d2-7e80-4670-925e-e4ddda49ea24',
owner_id: '',
},
];

export default { seasonal, downscaled };
2 changes: 1 addition & 1 deletion libs/environments/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import packageJson from '../../../package.json';

export const APP_VERSION = {
number: packageJson.version,
date: '2024-10-17',
date: '2024-10-25',
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "picsa-apps",
"version": "3.49.0",
"version": "3.49.1",
"license": "See LICENSE",
"scripts": {
"ng": "nx",
Expand Down

0 comments on commit 295f9b2

Please sign in to comment.