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
Now let's get a summary of the netCDF file that we've created. Note that the output data.frame shows the expected variables over the expected date range.
50
50
```{r}
51
-
summary.df <- AWAPer::summary(ncdffile.name)
51
+
summary.df <- AWAPer::file.summary(ncdffile.name)
52
52
summary.df
53
53
```
54
+
## Update an existing variable
55
+
56
+
Now that we've built the above file, the updating can be demonstrated. The BoM gridded data undergoes a detailed review and update process (see [https://www.bom.gov.au/climate/austmaps/about-rain-maps.shtml](here) and [https://www.bom.gov.au/climate/austmaps/update-schedule.shtml](here) ). Hence, the netCDF grids that one may have built some time ago may be require updating with revised BoM data.
57
+
58
+
The package allows for such updating between user defined dates. Here we'll update the data between the dates defined prior. Also, note that \code{vars} is not defined. This will cause all variables in the original file to be updated. That said, individual variables can be updated.
Now that we've built the above file, the updating can be demonstrated. Here we'll update the data grids to also include vapour pressure. Here the same date range will be used. Because the date range of the new variable equals the date range of the existing variables, only vapour pressure data is updated. This feature can be used to update the data of a single variable as required.
67
+
Here we'll update the data grids to also include vapour pressure. Here the same date range will be used. Because the date range of the new variable equals the date range of the existing variables, only vapour pressure data is updated. This feature can be used to update the data of a single variable as required.
Now let's check that the file includes both the original three variable plus vapour pressure.
66
76
```{r}
67
-
summary.df <- AWAPer::summary(ncdffile.name)
77
+
summary.df <- AWAPer::file.summary(ncdffile.name)
68
78
summary.df
69
79
```
70
-
## Add a variable to an existing data grids and update other variable
80
+
## Add a variable to an existing data grids and update other variables
71
81
72
82
Now lets add solar radiation. Here an earlier start date will be used. However, because the date range of all variables within the netCDF file must be equal, the date range of the other variables must also be updated.
Now let's get a summary of the netCDF file that we've created. Note that the output data.frame shows the expected variables over the expected date range.
50
50
```{r}
51
-
summary.df <- AWAPer::summary(ncdffile.name)
51
+
summary.df <- AWAPer::file.summary(ncdffile.name)
52
52
summary.df
53
53
```
54
+
## Update an existing variable
55
+
56
+
Now that we've built the above file, the updating can be demonstrated. The BoM gridded data undergoes a detailed review and update process (see [https://www.bom.gov.au/climate/austmaps/about-rain-maps.shtml](here) and [https://www.bom.gov.au/climate/austmaps/update-schedule.shtml](here) ). Hence, the netCDF grids that one may have built some time ago may be require updating with revised BoM data.
57
+
58
+
The package allows for such updating between user defined dates. Here we'll update the data between the dates defined prior. Also, note that \code{vars} is not defined. This will cause all variables in the original file to be updated. That said, individual variables can be updated.
Now that we've built the above file, the updating can be demonstrated. Here we'll update the data grids to also include vapour pressure. Here the same date range will be used. Because the date range of the new variable equals the date range of the existing variables, only vapour pressure data is updated. This feature can be used to update the data of a single variable as required.
67
+
Here we'll update the data grids to also include vapour pressure. Here the same date range will be used. Because the date range of the new variable equals the date range of the existing variables, only vapour pressure data is updated. This feature can be used to update the data of a single variable as required.
Now let's check that the file includes both the original three variable plus vapour pressure.
66
76
```{r}
67
-
summary.df <- AWAPer::summary(ncdffile.name)
77
+
summary.df <- AWAPer::file.summary(ncdffile.name)
68
78
summary.df
69
79
```
70
-
## Add a variable to an existing data grids and update other variable
80
+
## Add a variable to an existing data grids and update other variables
71
81
72
82
Now lets add solar radiation. Here an earlier start date will be used. However, because the date range of all variables within the netCDF file must be equal, the date range of the other variables must also be updated.
0 commit comments