Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update.rpipeline #109

Closed
wants to merge 35 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
7dd6114
Renaming file for better accuracy
RuthBowyer Aug 15, 2023
6d8875b
Renaming file for clarity
RuthBowyer Aug 15, 2023
e9f7a85
Updating func and appling BC qmapQuant to three cities
RuthBowyer Aug 15, 2023
687eb12
Moving some files to new folder
RuthBowyer Aug 24, 2023
05ad4c9
Script updates for grouping etc
RuthBowyer Aug 24, 2023
1695c31
Correcting precip error in Hads read in
RuthBowyer Aug 25, 2023
ad2845b
Correcting precip error in Hads read in
RuthBowyer Aug 25, 2023
17cca21
Merge branch 'LCAT.data' of https://github.com/alan-turing-institute/…
RuthBowyer Aug 29, 2023
b77383f
Updating fnc for scotland
RuthBowyer Aug 29, 2023
0c828f7
Updating fnc for scotland
RuthBowyer Aug 29, 2023
fd5642b
Start the BC for LCAT
RuthBowyer Aug 31, 2023
470fb08
Including fnc for Scotland
RuthBowyer Sep 5, 2023
dff994f
Deriving seasonal means
RuthBowyer Sep 5, 2023
c15beab
Loading obs data
RuthBowyer Sep 7, 2023
89df88e
Simplifying code - this might be a conflict later though
RuthBowyer Sep 7, 2023
b195855
Adding metrics, sorting out fig generation
RuthBowyer Sep 12, 2023
4e8be76
Adding in all runs rather than one and extracting rasters for general…
RuthBowyer Sep 12, 2023
049e749
Adding loops to deal with the four runs simultaneously
RuthBowyer Sep 12, 2023
5791e97
Updating with more figs
RuthBowyer Sep 15, 2023
bd9d793
conversion of val dfs to run over all runs
RuthBowyer Sep 19, 2023
894efea
update read_crop.fn.R - this could have been pushed already?
RuthBowyer Sep 19, 2023
68d7aca
Added density plot, rmse for each run
RuthBowyer Sep 21, 2023
282a75e
Cleaning up files for LCAT
RuthBowyer Sep 22, 2023
f90ac12
Updates for R pipeline
RuthBowyer Sep 22, 2023
be16f8f
Adding pre-processing to within method (qmap in this eg)
RuthBowyer Sep 26, 2023
879e608
Sep'ing script for conversion to df
RuthBowyer Sep 26, 2023
44175ac
updating for easier R pipeline
RuthBowyer Sep 28, 2023
4ca30d4
Update to script to convert city crops to data frame
RuthBowyer Sep 28, 2023
580d36f
Add notes and fixing function
RuthBowyer Sep 29, 2023
2e6fa1d
Small updated to wet.day and corrected related issue preventing run
RuthBowyer Oct 3, 2023
8678c07
Rewriting BC assessment to be more general for input
RuthBowyer Oct 4, 2023
70c4bb0
Resaving to avoid confusion
RuthBowyer Oct 4, 2023
2b90ca0
Sorting out raster plotting
RuthBowyer Oct 8, 2023
972502d
Updating metrics so as to work with new data format
RuthBowyer Oct 9, 2023
ad8851f
tidy markdown add kable
RuthBowyer Oct 9, 2023
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
Prev Previous commit
Next Next commit
Correcting precip error in Hads read in
RuthBowyer committed Aug 25, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 1695c31f2ee05edf169b17974e350ae8ae5d89b8
4 changes: 2 additions & 2 deletions R/bias-correction-methods/apply_qmapQuant_to_crpd_df_fn.R
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ for(r in Runs){
#subset file list to var
obs.var <- obs[grepl(v,obs)]

#subset to calibration years
#subset to calibration years
obs.varc <- obs.var[grepl("1980", obs.var)]
obs.df <- fread(paste0(fp, obs.varc))
obs.df <- as.data.frame(obs.df)
@@ -186,7 +186,7 @@ for(r in Runs){
obs <- files[grepl(i, files)]

#subset file list to var
obs.var <- obs[grepl(v,obs)]
obs.var <- obs[grepl("rainfall",obs)]

#subset to calibration years
obs.varc <- obs.var[grepl("1980", obs.var)]