Skip to content

Commit a4ed627

Browse files
authored
Merge pull request #115 from addelany/main
fix python code and temporal items
2 parents 7c53075 + 6194ada commit a4ed627

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

R/build_forecast_scores.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ build_forecast_scores <- function(table_schema,
150150
'bbox' = list(stac4cast::get_bbox(site_metadata = catalog_config$site_metadata_url, sites = group_sites))),
151151
"temporal" = list(
152152
'interval' = list(list(
153-
paste0(start_date,"T00:00:00Z"),
154-
paste0(end_date,"T00:00:00Z"))
153+
paste0(as.Date(start_date),"T00:00:00Z"),
154+
paste0(as.Date(end_date),"T00:00:00Z"))
155155
))
156156
),
157157
"table:columns" = stac4cast::build_table_columns_full_bucket(table_schema, table_description),

R/generate_model_assets.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ generate_model_assets <- function(full_var_df, aws_path, model_code_link){
5050
TYPE S3,\n
5151
ENDPOINT '",config$endpoint,"',\n
5252
URL_STYLE 'path'\n\n
53-
);/n
54-
'''\n\n
53+
''');
54+
\n\n
5555
path = ",
5656
paste0('"',"s3://",
5757
aws_path,

0 commit comments

Comments
 (0)