You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vignettes/B_Point_rainfall.Rmd
+18-6Lines changed: 18 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,14 @@ The first step is to create the netCDF files. Here only one netCDF file is creat
26
26
27
27
The netCDF file contains grids of daily rainfall for all of Australia and is used below to extract data at points of interest. Often users run _makeNetCDF_file_ once to build netCDF data files that contain all variables over the entire record length (which requires ~5GB disk storage) and then use the netCDFs grids for multiple projects, rather than re-building the netCDF for each project. Also, if _makeNetCDF_file_ is run with the the netCDF file names pointing to existing files and _updateFrom=NA_ then the netCDF files will be updated to yesterday.
28
28
29
+
To start to create the grids, the file name for the netCDF grids need to be defined. Here we'll just use temporary files. You should change this to a non-temporary file name and folder.
@@ -50,7 +56,7 @@ Extract the daily precipitation at the two locations. The data is extracted from
50
56
51
57
The other AWAPer variables are not extracted because _getTmin_, _getTmax_, _getVprp_, _getSolarrad_ and _getET_ are set to _F_. Note the netCDF file _ncdfFilename_ must be in the working directory or the full file path must be given.
## Check AWAPer data against precipitation gauge date
80
-
Use the following observed precipitation (from gauge_63005) to check the AWAPer data. Note, the observed data is hardcoded in and sourced from the Australian Bureau of Meteorology.
86
+
Use the following observed precipitation (from gauge_63005) to check the AWAPer data.
81
87
88
+
First let's hard-code in and sourced from the Australian Bureau of Meteorology.
Now let's compare the extracted rainfall against the gauge rainfall data.
103
+
104
+
The left plot shows that the gauge and extracted data plot along the 1:1. This shows that the extracted data is unbiased. The scatter does, however, show that there is some difference in the estimates. This arises because the source grids are at a 0.05 degree resolution, or about 5 km x 5 km, and this introduces some error with the gauge is not at the centre of the grid cell and the location to be extracted is not also at the centre.
105
+
106
+
```{r, fig.width= 8, fig.heght=8}
107
+
par(mfrow = c(1, 2))
94
108
95
-
# Plot the observed vs AWAPer rainfall at gauge ID 63005
Copy file name to clipboardExpand all lines: vignettes/B_Point_rainfall.Rnw
+18-6Lines changed: 18 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,14 @@ The first step is to create the netCDF files. Here only one netCDF file is creat
26
26
27
27
The netCDF file contains grids of daily rainfall for all of Australia and is used below to extract data at points of interest. Often users run _makeNetCDF_file_ once to build netCDF data files that contain all variables over the entire record length (which requires ~5GB disk storage) and then use the netCDFs grids for multiple projects, rather than re-building the netCDF for each project. Also, if _makeNetCDF_file_ is run with the the netCDF file names pointing to existing files and _updateFrom=NA_ then the netCDF files will be updated to yesterday.
28
28
29
+
To start to create the grids, the file name for the netCDF grids need to be defined. Here we'll just use temporary files. You should change this to a non-temporary file name and folder.
@@ -50,7 +56,7 @@ Extract the daily precipitation at the two locations. The data is extracted from
50
56
51
57
The other AWAPer variables are not extracted because _getTmin_, _getTmax_, _getVprp_, _getSolarrad_ and _getET_ are set to _F_. Note the netCDF file _ncdfFilename_ must be in the working directory or the full file path must be given.
## Check AWAPer data against precipitation gauge date
80
-
Use the following observed precipitation (from gauge_63005) to check the AWAPer data. Note, the observed data is hardcoded in and sourced from the Australian Bureau of Meteorology.
86
+
Use the following observed precipitation (from gauge_63005) to check the AWAPer data.
81
87
88
+
First let's hard-code in and sourced from the Australian Bureau of Meteorology.
Now let's compare the extracted rainfall against the gauge rainfall data.
103
+
104
+
The left plot shows that the gauge and extracted data plot along the 1:1. This shows that the extracted data is unbiased. The scatter does, however, show that there is some difference in the estimates. This arises because the source grids are at a 0.05 degree resolution, or about 5 km x 5 km, and this introduces some error with the gauge is not at the centre of the grid cell and the location to be extracted is not also at the centre.
105
+
106
+
```{r, fig.width= 8, fig.heght=6}
107
+
par(mfrow = c(1, 2))
94
108
95
-
# Plot the observed vs AWAPer rainfall at gauge ID 63005
0 commit comments