From d104ce8568bfa82ee8f70c518bd170d8fd00d6d6 Mon Sep 17 00:00:00 2001 From: schroeder5 <s.schroeder@fz-juelich.de> Date: Sun, 5 Jul 2020 21:25:30 +0200 Subject: [PATCH] #6: transfering UBA stations (no stationmeta_annotations implemented) --- imports_from_TOAR1/get_stations_meta.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/imports_from_TOAR1/get_stations_meta.sh b/imports_from_TOAR1/get_stations_meta.sh index e99a97d..fcbb747 100755 --- a/imports_from_TOAR1/get_stations_meta.sh +++ b/imports_from_TOAR1/get_stations_meta.sh @@ -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 -- GitLab