Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wdb:manuals:wdb_metadata [2012-06-14 21:10:41] michaeloa [Add Parameters] |
wdb:manuals:wdb_metadata [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 160: | Line 160: | ||
==== Add place Definitions ==== | ==== Add place Definitions ==== | ||
- | There are various differing functions to add a place definition to the database, depending on the type of place definition to be added. The function wci.addplacepoint is used for adding point data, while wci.addplaceregulargrid is used to define regular grids as follows. | + | There are various differing functions to add a place definition to the database, depending on the type of place definition to be added. The function wci.addplacepoint is used for adding point data, while wci.addplaceregulargrid is used to define regular grids as follows: |
- | select wci.addplacepoint( ' | + | select wci.addplacepoint(' |
- | ' | + | st_geomfromtext(' |
- | The first parameter in the function is the place name, while the second is the geographical position of the place definition in the default coordinate system of the WDB instance. | + | The first parameter in the function is the place name, while the second is the geographical position of the place definition in the default coordinate system of the WDB instance |
select wci.addplaceregulargrid( 'ecmwf 0.5 grid', | select wci.addplaceregulargrid( 'ecmwf 0.5 grid', | ||
Line 179: | Line 179: | ||
The fifth parameter is a comment field. Ideally, it contains a few brief lines of text that describe and explain the data provider entity. | The fifth parameter is a comment field. Ideally, it contains a few brief lines of text that describe and explain the data provider entity. | ||
- | |||
==== Adding a Place Definition ==== | ==== Adding a Place Definition ==== | ||
Line 188: | Line 187: | ||
==== Spatial Reference ID ==== | ==== Spatial Reference ID ==== | ||
+ | All SRIDs must be defined with " | ||
==== Setting a Place Name ==== | ==== Setting a Place Name ==== | ||
Line 281: | Line 281: | ||
Parameters created using this method are similar to the CF standard name, except that the short form of the CF methods precedes the CF standard name in order to generate a more natural language parameter description. Thus 'air temperature [maximum over days]' becomes 'max air temperature' | Parameters created using this method are similar to the CF standard name, except that the short form of the CF methods precedes the CF standard name in order to generate a more natural language parameter description. Thus 'air temperature [maximum over days]' becomes 'max air temperature' | ||
+ | For an example of adapting and adding parameters to a private parameter namespace, see the [[https:// |