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: book_source/03_topical_pages/06_data/01_meteorology.Rmd
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -153,8 +153,8 @@ Availability: 1950-present
153
153
154
154
Notes:
155
155
156
-
It's important to know that the raw ERA5 tiles needs to be downloaded and registered in the database first. Inside the `inst` folder in the data.atmosphere package there are R files for downloading and registering files in the BETY. However, it assumes that you have registered and setup your API requirements. Check out how to setup your API [here](https://confluence.ecmwf.int/display/CKB/How+to+download+ERA5).
157
-
In the `inst` folder you can find two files (`ERA5_db_register.R` and `ERA5_USA_download.R`). If you setup your `ecmwf` account as it's explained in the link above, `ERA5_USA_download.R` will help you to download all the tiles with all the variables required for pecan `extract.nc.ERA5` function to generate pecan standard met files. Besides installing the required packages for this file, it should work from top to bottom with no problem. After downloading the tiles, there is simple script in `ERA5_db_register.R` which helps you register your tiles in the bety. `met.process` later on uses that entery to find the required tiles for extracting met data for your sites. There are important points about this file. 1- Make sure you don't change the site id in the script (which is the same the `ParentSite` in ERA5 registeration xml file). 2- Make sure the start and end date in that script matches the downloaded tiles. Set your `ERA5.files.path` to where you downloaded the tiles and then the rest of the script should be working fine.
156
+
It's important to know that the raw ERA5 tiles needs to be downloaded and registered in the database first. Inside the `inst` folder in the data.atmosphere package there are R files for downloading and registering files in the BETY. However, it assumes that you have registered and setup your API requirements. The download uses the `ecmwfr` package, so you need the UID and API key from your [CDS profile page](https://cds.climate.copernicus.eu/profile), which you pass as the `user` and `key` arguments. Note that `ecmwfr` stores the key using `keyring`; on a headless machine there is no OS keyring and the default backend will prompt for a password, so set `Sys.setenv(R_KEYRING_BACKEND = "env")` first.
157
+
In the `inst` folder you can find two files (`ERA5_db_register.R` and `ERA5_NA_download.R`). Once your CDS credentials are set up, `ERA5_NA_download.R` will help you to download all the tiles with all the variables required for pecan `extract.nc.ERA5` function to generate pecan standard met files. Besides installing the required packages for this file, it should work from top to bottom with no problem. After downloading the tiles, there is simple script in `ERA5_db_register.R` which helps you register your tiles in the bety. `met.process` later on uses that entery to find the required tiles for extracting met data for your sites. There are important points about this file. 1- Make sure you don't change the site id in the script (which is the same the `ParentSite` in ERA5 registeration xml file). 2- Make sure the start and end date in that script matches the downloaded tiles. Set your `ERA5.files.path` to where you downloaded the tiles and then the rest of the script should be working fine.
Copy file name to clipboardExpand all lines: models/sipnet/NEWS.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# PEcAn.SIPNET 1.10.0.9000
2
2
3
+
* Improvements to the job.sh written by `write_segmented_configs`:
4
+
- Now places README.txt, segments.csv, and the full log files from each
5
+
segment, into the outdir (as was already done for one-segment runs).
6
+
- Now respects `settings$model$delete.raw` by deleting sipnet.out from segment
7
+
dirs as well as the from the job outdir
8
+
- No longer calls model2netcdf.SIPNET() inside each segment dir (it was
9
+
redundant with the whole-job netcdf output).
10
+
- Fixed incorrect run paths in the settings$host block passed to single segments
11
+
*`model2netcdf.SIPNET` takes `LAI` from sipnet.out if present (which requires
12
+
Sipnet > v2.2). If it is not present, LAI is calculated as
13
+
`plantLeafC / leafCSpWt` as previously.
3
14
*`split_inputs.SIPNET` now avoids internal time format conversions, giving a
4
15
substantial speedup and reduced memory use when processing multi-year files.
5
16
*`model2netcdf.SIPNET` now detects the number of timesteps per day by taking the maximum count across all days in the first simulation year, rather than reading only from day 1. This prevents a factor-of-N error in flux unit conversions when the first day of output is partial (fewer timesteps than a complete day) (#3624, #3989).
0 commit comments