Skip to content
Snippets Groups Projects
Commit d104ce85 authored by Sabine Schröder's avatar Sabine Schröder
Browse files

#6: transfering UBA stations (no stationmeta_annotations implemented)

parent fa67a688
No related branches found
No related tags found
No related merge requests found
Pipeline #40460 passed
......@@ -19,7 +19,7 @@
# matching fields:
# old | new | new table
# ====================================|======================================|==========================|
# network_name | pointing to programmes | stationmeta_programmes |
# network_name | pointing to programmes | timeseries_programmes |???
# station_id | codes | stationmeta_core |
# station_local_id | codes | stationmeta_core |
# station_type | type_of_environment | stationmeta_core |
......@@ -115,7 +115,7 @@ ORDERED_COLUMNS="numid,network_name,station_id,station_local_id,station_type,sta
#just for now (see above)
COORDINATE_VALIDATOR_ID=1
psql -h zam10131.zam.kfa-juelich.de -U s.schroeder surface_observations_toar -W -c "\COPY (select numid from stations WHERE network_name='UBA' ORDER BY numid) TO 'UBA_stations.txt'"
#psql -h zam10131.zam.kfa-juelich.de -U s.schroeder surface_observations_toar -W -c "\COPY (select numid from stations WHERE network_name='UBA' ORDER BY numid) TO 'UBA_stations.txt'"
for STATION in `cat UBA_stations.txt`
do
COUNTER=0
......@@ -263,4 +263,9 @@ do
$STATION_OMI_NO2_COLUMN,$STATION_HTAP_REGION,$STATION_ETOPO_ALT,$STATION_ETOPO_MIN_ALT_5KM,$STATION_ETOPO_RELATIVE_ALT,\
$STATION_DOMINANT_LANDCOVER,$STATION_TOAR_CATEGORY,$NEW_ID);"
# 3. stationmeta_annotations
# ==========================
echo "no station_comments available for UBA! TBD for other networks!"
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment