diff --git a/imports_from_TOAR1/get_stations_meta.sh b/imports_from_TOAR1/get_stations_meta.sh index e99a97dfeb17c8c019cb3cf3550778065cf7fe56..fcbb7474e5289d577e19ca8d126f1ed2d6c420e5 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