bcgov / nr-rfc-climate-obs

Transition of the existiing climate observations data pipeline to enable running off prem
Apache License 2.0
1 stars 0 forks source link

Integrate R code to prep wildfire data #21

Open franTarkenton opened 1 year ago

franTarkenton commented 1 year ago

Integrate the R code into the pipeline was started in issue #14 to complete the transformation of the XML data.

Upload the transformed data to object storage.

relates: https://github.com/bcgov/nr-rfc-climate-obs/issues/14

franTarkenton commented 1 year ago

Spent significant time trying to identify why there are differences between the output from the R script running on Prem and the one running locally. Have concluded that it has to do with the data that is available at the time the script is run.

Modified the R script and have been able to containerize it, and keep the image size down to a reasonable 150ish M. Was originally going to run this pipeline as a github action, however after recent platform services meeting where it was identified that the entire bcgov org only has 20 runners, have decided to pivot to deploying this to openshift.

The openshift deployment is an additional chunk of work that will be described in another ticket. Will close this ticket with next PR. with final changes to the R script.