-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add metadata for BIOS ancillaries #3
Open
SeanBryan51
wants to merge
6
commits into
main
Choose a base branch
from
add-bios-provenance-information
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SeanBryan51
force-pushed
the
add-bios-provenance-information
branch
from
October 21, 2024 01:31
849e94a
to
32b6740
Compare
SeanBryan51
force-pushed
the
add-bios-provenance-information
branch
from
October 21, 2024 01:49
5e4b9c4
to
1d50098
Compare
SeanBryan51
changed the title
Add bios provenance information
Add metadata for BIOS ancillaries
Oct 21, 2024
SeanBryan51
force-pushed
the
add-bios-provenance-information
branch
from
October 21, 2024 03:33
1d50098
to
e52d9dd
Compare
SeanBryan51
force-pushed
the
add-bios-provenance-information
branch
from
October 21, 2024 04:12
e52d9dd
to
813e66f
Compare
Here is a before and after diff of the header file changes (ignoring history logs) (NOW OUTDATED):
--- /dev/fd/63 2024-10-21 17:08:37.446300304 +1100
+++ /dev/fd/62 2024-10-21 17:08:37.446300304 +1100
@@ -1,4 +1,4 @@
-netcdf gridinfo_out_main {
+netcdf gridinfo_out_add-bios-provenance-information {
dimensions:
latitude = 670 ;
longitude = 813 ;
@@ -147,57 +147,91 @@
crs:spatial_ref = "GEOGCS[\"GDA94\",DATUM[\"Geocentric_Datum_of_Australia_1994\",SPHEROID[\"GRS 1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],AUTHORITY[\"EPSG\",\"6283\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AXIS[\"Latitude\",NORTH],AXIS[\"Longitude\",EAST],AUTHORITY[\"EPSG\",\"4283\"]]" ;
crs:GeoTransform = "112.925 0.05 0 -10.075 0 -0.05 " ;
float silt(latitude, longitude) ;
- silt:long_name = "GDAL Band Number 1" ;
+ silt:long_name = "UM soil texture - silt fraction" ;
silt:_FillValue = -9999.f ;
silt:grid_mapping = "crs" ;
+ silt:units = "1" ;
+ silt:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ silt:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
float clay(latitude, longitude) ;
- clay:long_name = "GDAL Band Number 1" ;
+ clay:long_name = "UM soil texture - clay fraction" ;
clay:_FillValue = -9999.f ;
clay:grid_mapping = "crs" ;
+ clay:units = "1" ;
+ clay:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ clay:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
float sand(latitude, longitude) ;
sand:_FillValue = -9999.f ;
sand:grid_mapping = "crs" ;
- sand:long_name = "GDAL Band Number 1" ;
+ sand:long_name = "UM soil texture - sand fraction" ;
+ sand:units = "1" ;
+ sand:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ sand:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
float css(latitude, longitude) ;
- css:long_name = "GDAL Band Number 1" ;
+ css:long_name = "Soil specific heat capacity" ;
css:_FillValue = -9999.f ;
css:grid_mapping = "crs" ;
+ css:units = "J/kg/K" ;
+ css:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ css:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
float sfc(latitude, longitude) ;
- sfc:long_name = "GDAL Band Number 1" ;
+ sfc:long_name = "VOL SMC AT CRIT PT" ;
sfc:_FillValue = -9999.f ;
sfc:grid_mapping = "crs" ;
+ sfc:units = "m3 m-3" ;
+ sfc:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ sfc:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
float rhosoil(latitude, longitude) ;
- rhosoil:long_name = "GDAL Band Number 1" ;
+ rhosoil:long_name = "SOIL BULK DENSITY" ;
rhosoil:_FillValue = -9999.f ;
rhosoil:grid_mapping = "crs" ;
+ rhosoil:units = "kg/m^3" ;
+ rhosoil:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ rhosoil:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
float bch(latitude, longitude) ;
bch:_FillValue = -9999.f ;
bch:grid_mapping = "crs" ;
- bch:long_name = "GDAL Band Number 1" ;
+ bch:long_name = "CLAPP-HORNBERGER B COEFFICIENT" ;
+ bch:units = "1" ;
+ bch:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ bch:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
float hyds(latitude, longitude) ;
hyds:_FillValue = -9999.f ;
hyds:grid_mapping = "crs" ;
- hyds:long_name = "GDAL Band Number 1" ;
+ hyds:long_name = "SAT SOIL CONDUCTIVITY" ;
+ hyds:units = "m/s" ;
+ hyds:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ hyds:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
float ssat(latitude, longitude) ;
ssat:_FillValue = -9999.f ;
ssat:grid_mapping = "crs" ;
- ssat:long_name = "GDAL Band Number 1" ;
+ ssat:long_name = "VOL SMC AT SATURATION" ;
+ ssat:units = "1" ;
+ ssat:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ ssat:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
float swilt(latitude, longitude) ;
swilt:_FillValue = -9999.f ;
swilt:grid_mapping = "crs" ;
- swilt:long_name = "GDAL Band Number 1" ;
+ swilt:long_name = "VOL SMC AT WILTING" ;
+ swilt:units = "1" ;
+ swilt:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ swilt:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
float sucs(latitude, longitude) ;
sucs:_FillValue = -9999.f ;
sucs:grid_mapping = "crs" ;
- sucs:long_name = "GDAL Band Number 1" ;
+ sucs:long_name = "SATURATED SOIL WATER SUCTION" ;
+ sucs:units = "m" ;
+ sucs:comment = "Data provided from the Atlas of Australian Soils (digital)" ;
+ sucs:references = "https://doi.org/10.25919/5df03e991672d and https://publications.csiro.au/publications/publication/PIlegacy:889" ;
int mvg(latitude, longitude) ;
mvg:_FillValue = -9999 ;
mvg:grid_mapping = "crs" ;
- mvg:long_name = "GDAL Band Number 1" ;
+ mvg:long_name = "NVIS major vegetation group (v5.0)" ;
float c4frac(latitude, longitude) ;
- c4frac:long_name = "GDAL Band Number 1" ;
+ c4frac:long_name = "Fractional cover of C4 grass" ;
c4frac:_FillValue = -9999.f ;
c4frac:grid_mapping = "crs" ;
+ c4frac:units = "1" ;
// global attributes:
:title = "CABLE gridinfo file reconciled with CRU forcing" ;
@@ -210,7 +244,7 @@
"/home/189/sb8430/gists/regrid_aus_05x05_to_005x005.sh: Clip to Australian region and subsample from 0.5 degrees resolution to 0.05 degrees using nearest neighbour interpolation. 21.10.2024\n",
"One iveg and patchfrac dimension added for savanna-tiling. L. Nieradzik 11/2015" ;
:map_file = "map_05x05_to_005x005_neareststod.nc" ;
- :input_file = "gridinfo_out_main.nc" ;
+ :input_file = "gridinfo_out_add-bios-provenance-information.nc" ;
"Wed May 31 00:52:23 2023: ncrename -v Band1,c4_grass_frac_cov c4_grass_frac_cov.nc\n",
"Wed May 31 00:31:01 2023: GDAL CreateCopy( c4_grass_frac_cov.nc, ... )\n",
"Wed May 31 00:52:32 2023: ncrename -v Band1,nvis5pre1750grp nvis5pre1750grp.nc\n", |
A few notes from me:
|
@AlisonBennett Thanks for taking a look. I've set the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change adds metadata to the BIOS gridinfo file as per discussions in CABLE-LSM/CABLE#406.