diff --git a/imports_from_TOAR1/get_stations_meta.sh b/imports_from_TOAR1/get_stations_meta.sh index fcbb7474e5289d577e19ca8d126f1ed2d6c420e5..bb17eab181f66bb16756ea0fd50518c591f3c1c9 100755 --- a/imports_from_TOAR1/get_stations_meta.sh +++ b/imports_from_TOAR1/get_stations_meta.sh @@ -240,7 +240,8 @@ do \"google_resolution\":\"$TRIMMED_GOOGLE_RESOLUTION\",\ \"station_landcover_description\":\"$TRIMMED_STATION_LANDCOVER_DESCRIPTION\",\ \"station_max_population_density_5km\":\"$TRIMMED_STATION_MAX_POPULATION_DENSITY_5KM\"}" - res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO stationmeta_core\ +# res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO stationmeta_core\ + res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO stationmeta_core\ (codes,name,coordinates,country,state,coordinate_validation_status,coordinate_validation_date,type_of_environment,\ type_of_area,timezone,additional_metadata,coordinate_validator_id) VALUES \ ('{$CODES}',TRIM('$STATION_NAME'),ST_SetSRID(ST_MakePoint($STATION_LON,$STATION_LAT,$STATION_ALT),4326),TRIM('$STATION_COUNTRY'),\ @@ -253,7 +254,8 @@ do # 2. stationmeta_global # ===================== - psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO stationmeta_global\ +# psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO stationmeta_global\ + psql -h localhost -d toardb -U toaradmin -c "INSERT INTO stationmeta_global\ (population_density_year2010,max_population_density_25km_year2010,climatic_zone,nightlight_1km_year2013,nightlight_5km_year2013,\ max_nightlight_25km_year2013,wheat_production_year2000,rice_production_year2000,edgar_htap_v2_nox_emissions_year2010,\ omi_no2_column_years2011to2015,htap_region_tier1,etopo_alt,etopo_min_alt_5km,etopo_relative_alt,dominant_landcover_year2012,\ diff --git a/imports_from_TOAR1/get_timeseries_meta.sh b/imports_from_TOAR1/get_timeseries_meta.sh index 2534f7d4c82026da6b9cb2cd205985c5858fa0da..5a13b70b74fbe294cc3017f23a8592572aef6ecd 100755 --- a/imports_from_TOAR1/get_timeseries_meta.sh +++ b/imports_from_TOAR1/get_timeseries_meta.sh @@ -89,207 +89,238 @@ do if [ $COUNTER -eq 2 ] then ID=${row[0]} - echo "ID: $ID" +# echo "ID: $ID" STATION_NUMID=${row[1]} - echo "STATION_NUMID: $STATION_NUMID" +# echo "STATION_NUMID: $STATION_NUMID" PARAMETER_LABEL=${row[2]} - echo "PARAMETER_LABEL: $PARAMETER_LABEL" +# echo "PARAMETER_LABEL: $PARAMETER_LABEL" PARAMETER_NAME=${row[3]} - echo "PARAMETER_NAME: $PARAMETER_NAME" +# echo "PARAMETER_NAME: $PARAMETER_NAME" PARAMETER_ATTRIBUTE=${row[4]} - echo "PARAMETER_ATTRIBUTE: $PARAMETER_ATTRIBUTE" +# echo "PARAMETER_ATTRIBUTE: $PARAMETER_ATTRIBUTE" PARAMETER_SAMPLING_TYPE=${row[5]} - echo "PARAMETER_SAMPLING_TYPE: $PARAMETER_SAMPLING_TYPE" +# echo "PARAMETER_SAMPLING_TYPE: $PARAMETER_SAMPLING_TYPE" PARAMETER_MEASUREMENT_METHOD=${row[6]} - echo "PARAMETER_MEASUREMENT_METHOD: $PARAMETER_MEASUREMENT_METHOD" +# echo "PARAMETER_MEASUREMENT_METHOD: $PARAMETER_MEASUREMENT_METHOD" PARAMETER_ORIGINAL_UNITS=${row[7]} - echo "PARAMETER_ORIGINAL_UNITS: $PARAMETER_ORIGINAL_UNITS" +# echo "PARAMETER_ORIGINAL_UNITS: $PARAMETER_ORIGINAL_UNITS" PARAMETER_CALIBRATION=${row[8]} - echo "PARAMETER_CALIBRATION: $PARAMETER_CALIBRATION" +# echo "PARAMETER_CALIBRATION: $PARAMETER_CALIBRATION" PARAMETER_CONTRIBUTOR_SHORTNAME=${row[9]} - echo "PARAMETER_CONTRIBUTOR_SHORTNAME: $PARAMETER_CONTRIBUTOR_SHORTNAME" +# echo "PARAMETER_CONTRIBUTOR_SHORTNAME: $PARAMETER_CONTRIBUTOR_SHORTNAME" PARAMETER_CONTRIBUTOR=${row[10]} - echo "PARAMETER_CONTRIBUTOR: $PARAMETER_CONTRIBUTOR" +# echo "PARAMETER_CONTRIBUTOR: $PARAMETER_CONTRIBUTOR" PARAMETER_CONTRIBUTOR_COUNTRY=${row[11]} - echo "PARAMETER_CONTRIBUTOR_COUNTRY: $PARAMETER_CONTRIBUTOR_COUNTRY" +# echo "PARAMETER_CONTRIBUTOR_COUNTRY: $PARAMETER_CONTRIBUTOR_COUNTRY" PARAMETER_DATASET_TYPE=${row[12]} - echo "PARAMETER_DATASET_TYPE: $PARAMETER_DATASET_TYPE" +# echo "PARAMETER_DATASET_TYPE: $PARAMETER_DATASET_TYPE" PARAMETER_STATUS=${row[13]} - echo "PARAMETER_STATUS: $PARAMETER_STATUS" +# echo "PARAMETER_STATUS: $PARAMETER_STATUS" COMMENTS=${row[14]} - echo "COMMENTS: $COMMENTS" +# echo "COMMENTS: $COMMENTS" CREATION_DATE=${row[15]} - echo "CREATION_DATE: $CREATION_DATE" +# echo "CREATION_DATE: $CREATION_DATE" MODIFICATION_DATE=${row[16]} - echo "MODIFICATION_DATE: $MODIFICATION_DATE" +# echo "MODIFICATION_DATE: $MODIFICATION_DATE" DATA_START_DATE=${row[17]} - echo "DATA_START_DATE: $DATA_START_DATE" +# echo "DATA_START_DATE: $DATA_START_DATE" DATA_END_DATE=${row[18]} - echo "DATA_END_DATE: $DATA_END_DATE" +# echo "DATA_END_DATE: $DATA_END_DATE" PARAMETER_PI=${row[19]} - echo "PARAMETER_PI: $PARAMETER_PI" +# echo "PARAMETER_PI: $PARAMETER_PI" PARAMETER_PI_EMAIL=${row[20]} - echo "PARAMETER_PI_EMAIL: $PARAMETER_PI_EMAIL" +# echo "PARAMETER_PI_EMAIL: $PARAMETER_PI_EMAIL" PARAMETER_INSTRUMENT_MANUFACTURER=${row[21]} - echo "PARAMETER_INSTRUMENT_MANUFACTURER: $PARAMETER_INSTRUMENT_MANUFACTURER" +# echo "PARAMETER_INSTRUMENT_MANUFACTURER: $PARAMETER_INSTRUMENT_MANUFACTURER" PARAMETER_INSTRUMENT_MODEL=${row[22]} - echo "PARAMETER_INSTRUMENT_MODEL: $PARAMETER_INSTRUMENT_MODEL" +# echo "PARAMETER_INSTRUMENT_MODEL: $PARAMETER_INSTRUMENT_MODEL" fi let COUNTER=COUNTER+1 done < <(echo "SELECT ${ORDERED_COLUMNS} FROM parameter_series WHERE station_numid=${OLD_STATIONID} AND parameter_name='o3'" | psql -h zam10131.zam.kfa-juelich.de -d surface_observations_toar -U s.schroeder) - # 1. contacts/timeseries_roles - # ============================ - - # 1. a) persons - # ============= + if [ "$ID" != "(0 rows)" ] + then - # no personal contacts given for UBA data! - # only model data from REA give personal contacts! - # ozone data is only measured from UBA! -# EMAIL=`echo -n "${PARAMETER_PI_EMAIL//[[:space:]]/}"` -# NAME=`echo -n "${PARAMETER_PI//[[:space:]]/}"` -# PHONE='' -# ISPRIVATE=True + # 1. contacts/timeseries_roles + # ============================ -# res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO persons\ -# (name,email,phone,isprivate) VALUES -# ('$NAME','$EMAIL','$PHONE',$ISPRIVATE)\ -# RETURNING id;"` -# PERSON_ID=$(echo $res | cut -f2 | cut -f3 -d' ') - PERSON_ID=-1 - - # 1. b) organisations - # =================== + # 1. a) persons + # ============= - NAME=`echo -n "${PARAMETER_CONTRIBUTOR_SHORTNAME//[[:space:]]/}"` - LONGNAME=`echo -n "${PARAMETER_CONTRIBUTOR//[[:space:]]/}"` - COUNTRY=`echo -n "${PARAMETER_CONTRIBUTOR_COUNTRY//[[:space:]]/}"` - CITY='' - POSTCODE='' - STREET_ADDRESS='' - HOMEPAGE='' + # no personal contacts given for UBA data! + # only model data from REA give personal contacts! + # ozone data is only measured from UBA! +# EMAIL=`echo -n "${PARAMETER_PI_EMAIL//[[:space:]]/}"` +# NAME=`echo -n "${PARAMETER_PI//[[:space:]]/}"` +# PHONE='' +# ISPRIVATE=True -# res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO organisations\ +# res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO persons\ +# (name,email,phone,isprivate) VALUES +# ('$NAME','$EMAIL','$PHONE',$ISPRIVATE)\ +# RETURNING id;"` +# PERSON_ID=$(echo $res | cut -f2 | cut -f3 -d' ') + PERSON_ID=-1 + + # 1. b) organisations + # =================== - intentionally commented without comment! - script should not be run without - check, whether organisation exists already in contacts!!! + NAME=`echo -n "${PARAMETER_CONTRIBUTOR_SHORTNAME//[[:space:]]/}"` + LONGNAME=`echo -e $PARAMETER_CONTRIBUTOR | awk '{$1=$1};1'` + COUNTRY=`echo -e $PARAMETER_CONTRIBUTOR_COUNTRY | awk '{$1=$1};1'` + CITY='' + POSTCODE='' + STREET_ADDRESS='' + HOMEPAGE='' - res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO organisations\ - (name,longname,kind,city,postcode,street_address,country,homepage) VALUES \ - ('$NAME','$LONGNAME',$KIND,'$CITY','$POSTCODE','$STREET_ADDRESS','$COUNTRY','$HOMEPAGE') \ - RETURNING id;"` - ORGANISATION_ID=$(echo $res | cut -f2 | cut -f3 -d' ') + # check, whether organisation exists already in database +# res=`psql -h localhost -d toardb -U toaradmin -c "SELECT id FROM organisations\ + res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "SELECT id FROM organisations\ + WHERE name='$NAME' AND longname='$LONGNAME';"` + ORG_EXISTED=1 + ORGANISATION_ID=$(echo $res | cut -f2 | cut -f3 -d' ') + if [ "$ORGANISATION_ID" == "(0" ] + then + ORG_EXISTED=0 +# res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO organisations\ + res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO organisations\ + (name,longname,kind,city,postcode,street_address,country,homepage) VALUES \ + ('$NAME','$LONGNAME',$KIND,'$CITY','$POSTCODE','$STREET_ADDRESS','$COUNTRY','$HOMEPAGE') \ + RETURNING id;"` + ORGANISATION_ID=$(echo $res | cut -f2 | cut -f3 -d' ') + fi - # 1. c) contacts - # ============== + # 1. c) contacts + # ============== - if [ $PERSON_ID -ne -1 ] - then -# res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO contacts\ - res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO contacts\ - (person_id,organisation_id) VALUES \ - ($PERSON_ID,0) \ - RETURNING id;"` - PI_ID=$(echo $res | cut -f2 | cut -f3 -d' ') - fi + if [ $PERSON_ID -ne -1 ] + then +# res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO contacts\ + res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO contacts\ + (person_id,organisation_id) VALUES \ + ($PERSON_ID,0) \ + RETURNING id;"` + PI_ID=$(echo $res | cut -f2 | cut -f3 -d' ') + fi - if [ $ORGANISATION_ID -ne -1 ] - then -# res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO contacts\ - res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO contacts\ - (person_id,organisation_id) VALUES \ - (0,$ORGANISATION_ID) \ - RETURNING id;"` - CONTRIBUTOR_ID=$(echo $res | cut -f2 | cut -f3 -d' ') - fi + if [ $ORGANISATION_ID -ne -1 ] + then + if [ $ORG_EXISTED -eq 1 ] + then +# res=`psql -h localhost -d toardb -U toaradmin -c "SELECT id FROM contacts\ + res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "SELECT id FROM contacts\ + WHERE organisation_id=$ORGANISATION_ID;"` + else +# res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO contacts\ + res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO contacts\ + (person_id,organisation_id) VALUES \ + (0,$ORGANISATION_ID) \ + RETURNING id;"` + fi + CONTRIBUTOR_ID=$(echo $res | cut -f2 | cut -f3 -d' ') + fi - # 1. d) timeseries_roles - # ====================== + # 1. d) timeseries_roles + # ====================== - if [ $PERSON_ID -ne -1 ] - then -# res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO timeseries_roles\ - res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO timeseries_roles\ - (role,status,contact_id) VALUES \ - ($PI_ROLE,$PI_STATUS,$PI_ID)\ - RETURNING id;"` - ROLE1=$(echo $res | cut -f2 | cut -f3 -d' ') - fi - if [ $ORGANISATION_ID -ne -1 ] - then -# res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO timeseries_roles\ - res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO timeseries_roles\ - (role,status,contact_id) VALUES \ - ($CONTRIBUTOR_ROLE,$CONTRIBUTOR_STATUS,$CONTRIBUTOR_ID) \ - RETURNING id;"` - ROLE2=$(echo $res | cut -f2 | cut -f3 -d' ') - fi + if [ $PERSON_ID -ne -1 ] + then + # check, whether timeseries_role already exists +# res=`psql -h localhost -d toardb -U toaradmin -c "SELECT id FROM timeseries_roles\ + res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "SELECT id FROM timeseries_roles\ + WHERE role=$PI_ROLE AND status=$PI_STATUS AND contact_id=$PI_ID;"` + ROLE1=$(echo $res | cut -f2 | cut -f3 -d' ') + if [ "$ROLE1" == "(0" ] + then +# res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO timeseries_roles\ + res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO timeseries_roles\ + (role,status,contact_id) VALUES \ + ($PI_ROLE,$PI_STATUS,$PI_ID)\ + RETURNING id;"` + ROLE1=$(echo $res | cut -f2 | cut -f3 -d' ') + fi + fi + if [ $ORGANISATION_ID -ne -1 ] + then + # check, whether timeseries_role already exists +# res=`psql -h localhost -d toardb -U toaradmin -c "SELECT id FROM timeseries_roles\ + res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "SELECT id FROM timeseries_roles\ + WHERE role=$CONTRIBUTOR_ROLE AND status=$CONTRIBUTOR_STATUS AND contact_id=$CONTRIBUTOR_ID;"` + ROLE2=$(echo $res | cut -f2 | cut -f3 -d' ') + if [ "$ROLE2" == "(0" ] + then +# res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO timeseries_roles\ + res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO timeseries_roles\ + (role,status,contact_id) VALUES \ + ($CONTRIBUTOR_ROLE,$CONTRIBUTOR_STATUS,$CONTRIBUTOR_ID) \ + RETURNING id;"` + ROLE2=$(echo $res | cut -f2 | cut -f3 -d' ') + fi + fi - # 2. timeseries_annotations - # ========================= + # 2. timeseries_annotations + # ========================= - # parameter_calibration: none given for UBA measured ozone - # comments: none given for UBA measured ozone + # parameter_calibration: none given for UBA measured ozone + # comments: none given for UBA measured ozone - # 3. timeseries - # ============= + # 3. timeseries + # ============= - # "order" (column name of table timeseries) is a reserved word of PostgreSQL!!! + # "order" (column name of table timeseries) is a reserved word of PostgreSQL!!! - # fill additional_metadata - # accessing special fields within PostgreSQL is then possible via (f. ex.) - # select additional_metadata->>'original_units' from timeseries; - TRIMMED_PARAMETER_ATTRIBUTE=`echo -n "${PARAMETER_ATTRIBUTE//[[:space:]]/}"` - TRIMMED_PARAMETER_SAMPLING_TYPE=`echo -n "${PARAMETER_SAMPLING_TYPE//[[:space:]]/}"` - TRIMMED_PARAMETER_ORIGINAL_UNITS=`echo -n "${PARAMETER_ORIGINAL_UNITS//[[:space:]]/}"` - TRIMMED_PARAMETER_STATUS=`echo -n "${PARAMETER_STATUS//[[:space:]]/}"` - TRIMMED_PARAMETER_INSTRUMENT_MANUFACTURER=`echo -n "${PARAMETER_INSTRUMENT_MANUFACTURER//[[:space:]]/}"` - TRIMMED_PARAMETER_INSTRUMENT_MODEL=`echo -n "${PARAMETER_INSTRUMENT_MODEL//[[:space:]]/}"` - ADDITIONAL_METADATA="{\"parameter_attribute\":\"$TRIMMED_PARAMETER_ATTRIBUTE\",\ - \"parameter_sampling_type\":\"$TRIMMED_PARAMETER_SAMPLING_TYPE\",\ - \"parameter_original_units\":\"$TRIMMED_PARAMETER_ORIGINAL_UNITS\",\ - \"parameter_status\":\"$TRIMMED_PARAMETER_STATUS\",\ - \"parameter_instrument_manufacturer\":\"$TRIMMED_PARAMETER_INSTRUMENT_MANUFACTURER\",\ - \"parameter_instrument_model\":\"$TRIMMED_PARAMETER_INSTRUMENT_MODEL\"}" - DATE_ADDED=$CREATION_DATE - DATE_MODIFIED=$MODIFICATION_DATE - if [[ $PARAMETER_MEASUREMENT_METHOD == *"UV"* ]] - then - MEASUREMENT_METHOD=0 - else - MEASUREMENT_METHOD=1 - fi -# res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO timeseries\ - res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO timeseries \ - (label,\"order\",access_rights,sampling_frequency,aggregation,data_start_date,data_end_date,sampling_height,\ - additional_metadata,date_added,date_modified,station_id,variable_id,source,measurement_method,programme_id) VALUES \ - ('$LABEL',$ORDER,$ACCESS_RIGHTS,$SAMPLING_FREQUENCY,$AGGREGATION,'$DATA_START_DATE','$DATA_END_DATE',$SAMPLING_HEIGHT,\ - '$ADDITIONAL_METADATA','$DATE_ADDED','$DATE_MODIFIED',$NEW_STATIONID,$VARIABLE_ID,$SOURCE,$MEASUREMENT_METHOD,$PROGRAMME_ID) \ - RETURNING id;"` - # log new id - NEW_ID=$(echo $res | cut -f2 | cut -f3 -d' ') - echo "$ID $NEW_ID" >>timeseries_oldID_newID.txt + # fill additional_metadata + # accessing special fields within PostgreSQL is then possible via (f. ex.) + # select additional_metadata->>'original_units' from timeseries; + TRIMMED_PARAMETER_ATTRIBUTE=`echo -n "${PARAMETER_ATTRIBUTE//[[:space:]]/}"` + TRIMMED_PARAMETER_SAMPLING_TYPE=`echo -n "${PARAMETER_SAMPLING_TYPE//[[:space:]]/}"` + TRIMMED_PARAMETER_ORIGINAL_UNITS=`echo -e $PARAMETER_ORIGINAL_UNITS | awk '{$1=$1};1'` + TRIMMED_PARAMETER_STATUS=`echo -n "${PARAMETER_STATUS//[[:space:]]/}"` + TRIMMED_PARAMETER_INSTRUMENT_MANUFACTURER=`echo -e $PARAMETER_INSTRUMENT_MANUFACTURER | awk '{$1=$1};1'` + TRIMMED_PARAMETER_INSTRUMENT_MODEL=`echo -e $PARAMETER_INSTRUMENT_MODEL | awk '{$1=$1};1'` + ADDITIONAL_METADATA="{\"parameter_attribute\":\"$TRIMMED_PARAMETER_ATTRIBUTE\",\ + \"parameter_sampling_type\":\"$TRIMMED_PARAMETER_SAMPLING_TYPE\",\ + \"parameter_original_units\":\"$TRIMMED_PARAMETER_ORIGINAL_UNITS\",\ + \"parameter_status\":\"$TRIMMED_PARAMETER_STATUS\",\ + \"parameter_instrument_manufacturer\":\"$TRIMMED_PARAMETER_INSTRUMENT_MANUFACTURER\",\ + \"parameter_instrument_model\":\"$TRIMMED_PARAMETER_INSTRUMENT_MODEL\"}" + DATE_ADDED=$CREATION_DATE + DATE_MODIFIED=$MODIFICATION_DATE + if [[ $PARAMETER_MEASUREMENT_METHOD == *"UV"* ]] + then + MEASUREMENT_METHOD=0 + else + MEASUREMENT_METHOD=1 + fi +# res=`psql -h localhost -d toardb -U toaradmin -c "INSERT INTO timeseries \ + res=`psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO timeseries\ + (label,\"order\",access_rights,sampling_frequency,aggregation,data_start_date,data_end_date,sampling_height,\ + additional_metadata,date_added,date_modified,station_id,variable_id,source,measurement_method,programme_id) VALUES \ + ('$LABEL',$ORDER,$ACCESS_RIGHTS,$SAMPLING_FREQUENCY,$AGGREGATION,'$DATA_START_DATE','$DATA_END_DATE',$SAMPLING_HEIGHT,\ + '$ADDITIONAL_METADATA','$DATE_ADDED','$DATE_MODIFIED',$NEW_STATIONID,$VARIABLE_ID,$SOURCE,$MEASUREMENT_METHOD,$PROGRAMME_ID) \ + RETURNING id;"` + # log new id + NEW_ID=$(echo $res | cut -f2 | cut -f3 -d' ') + echo "$ID $NEW_ID" >>timeseries_oldID_newID.txt - # 4. many-to-many relations - # ========================= + # 4. many-to-many relations + # ========================= - # 4. a) timeseries_timeseries_roles - # ================================= + # 4. a) timeseries_timeseries_roles + # ================================= - # for UBA: only Contributor (see above) -# psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO timeseries_timeseries_roles\ - psql -h localhost -d toardb -U toaradmin -c "INSERT INTO timeseries_timeseries_roles\ - (timeseries_id,role_id) VALUES \ - ($NEW_ID,$ROLE2);" + # for UBA: only Contributor (see above) +# psql -h localhost -d toardb -U toaradmin -c "INSERT INTO timeseries_timeseries_roles\ + psql -h zam10116.zam.kfa-juelich.de -d toardb_v2 -U s.schroeder -c "INSERT INTO timeseries_timeseries_roles\ + (timeseries_id,role_id) VALUES \ + ($NEW_ID,$ROLE2);" - # 4. b) timeseries_timeseries_annotations - # ======================================= + # 4. b) timeseries_timeseries_annotations + # ======================================= - # for UBA: none (see above) + # for UBA: none (see above) - exit + fi done < stations_oldID_newID.txt diff --git a/imports_from_TOAR1/stations_oldID_newID.txt b/imports_from_TOAR1/stations_oldID_newID.txt new file mode 100644 index 0000000000000000000000000000000000000000..3f021d51d56261807b16cd72da50003306eaf08e --- /dev/null +++ b/imports_from_TOAR1/stations_oldID_newID.txt @@ -0,0 +1,990 @@ + 3336 37 + 3337 38 + 3338 39 + 3339 40 + 3340 41 + 3341 42 + 3342 43 + 3343 44 + 3344 45 + 3345 46 + 3346 47 + 3347 48 + 3348 49 + 3349 50 + 3350 51 + 3351 52 + 3352 53 + 3353 54 + 3354 55 + 3355 56 + 3356 57 + 3357 58 + 3358 59 + 3359 60 + 3360 61 + 3361 62 + 3362 63 + 3363 64 + 3364 65 + 3365 66 + 3366 67 + 3367 68 + 3368 69 + 3369 70 + 3370 71 + 3371 72 + 3372 73 + 3373 74 + 3374 75 + 3375 76 + 3376 77 + 3377 78 + 3378 79 + 3379 80 + 3380 81 + 3381 82 + 3382 83 + 3383 84 + 3384 85 + 3385 86 + 3386 87 + 3387 88 + 3388 89 + 3389 90 + 3390 91 + 3391 92 + 3392 93 + 3393 94 + 3394 95 + 3395 96 + 3396 97 + 3397 98 + 3398 99 + 3399 100 + 3400 101 + 3401 102 + 3402 103 + 3403 104 + 3404 105 + 3405 106 + 3406 107 + 3407 108 + 3408 109 + 3409 110 + 3410 111 + 3411 112 + 3412 113 + 3413 114 + 3414 115 + 3415 116 + 3416 117 + 3417 118 + 3418 119 + 3419 120 + 3420 121 + 3421 122 + 3422 123 + 3423 124 + 3424 125 + 3425 126 + 3426 127 + 3427 128 + 3428 129 + 3429 130 + 3430 131 + 3431 132 + 3432 133 + 3433 134 + 3434 135 + 3435 136 + 3436 137 + 3437 138 + 3438 139 + 3439 140 + 3440 141 + 3441 142 + 3442 143 + 3443 144 + 3444 145 + 3445 146 + 3446 147 + 3447 148 + 3448 149 + 3449 150 + 3450 151 + 3451 152 + 3452 153 + 3453 154 + 3454 155 + 3455 156 + 3456 157 + 3457 158 + 3458 159 + 3459 160 + 3460 161 + 3461 162 + 3462 163 + 3463 164 + 3464 165 + 3465 166 + 3466 167 + 3467 168 + 3468 169 + 3469 170 + 3470 171 + 3471 172 + 3472 173 + 3473 174 + 3474 175 + 3475 176 + 3476 177 + 3477 178 + 3478 179 + 3479 180 + 3480 181 + 3481 182 + 3482 183 + 3483 184 + 3484 185 + 3485 186 + 3486 187 + 3487 188 + 3488 189 + 3489 190 + 3490 191 + 3491 192 + 3492 193 + 3493 194 + 3494 195 + 3495 196 + 3496 197 + 3497 198 + 3498 199 + 3499 200 + 3500 201 + 3501 202 + 3502 203 + 3503 204 + 3504 205 + 3505 206 + 3506 207 + 3507 208 + 3508 209 + 3509 210 + 3510 211 + 3511 212 + 3512 213 + 3513 214 + 3514 215 + 3515 216 + 3516 217 + 3517 218 + 3518 219 + 3519 220 + 3520 221 + 3521 222 + 3522 223 + 3523 224 + 3524 225 + 3525 226 + 3526 227 + 3527 228 + 3528 229 + 3529 230 + 3530 231 + 3531 232 + 3532 233 + 3533 234 + 3534 235 + 3535 236 + 3536 237 + 3537 238 + 3538 239 + 3539 240 + 3540 241 + 3541 242 + 3542 243 + 3543 244 + 3544 245 + 3545 246 + 3546 247 + 3547 248 + 3548 249 + 3549 250 + 3550 251 + 3551 252 + 3552 253 + 3553 254 + 3554 255 + 3555 256 + 3556 257 + 3557 258 + 3558 259 + 3559 260 + 3560 261 + 3561 262 + 3562 263 + 3563 264 + 3564 265 + 3565 266 + 3566 267 + 3567 268 + 3568 269 + 3569 270 + 3570 271 + 3571 272 + 3572 273 + 3573 274 + 3574 275 + 3575 276 + 3576 277 + 3577 278 + 3578 279 + 3579 280 + 3580 281 + 3581 282 + 3582 283 + 3583 284 + 3584 285 + 3585 286 + 3586 287 + 3587 288 + 3588 289 + 3589 290 + 3590 291 + 3591 292 + 3592 293 + 3593 294 + 3594 295 + 3595 296 + 3596 297 + 3597 298 + 3598 299 + 3599 300 + 3600 301 + 3601 302 + 3602 303 + 3603 304 + 3604 305 + 3605 306 + 3606 307 + 3607 308 + 3608 309 + 3609 310 + 3610 311 + 3611 312 + 3612 313 + 3613 314 + 3614 315 + 3615 316 + 3616 317 + 3617 318 + 3618 319 + 3619 320 + 3620 321 + 3621 322 + 3622 323 + 3623 324 + 3624 325 + 3625 326 + 3626 327 + 3627 328 + 3628 329 + 3629 330 + 3630 331 + 3631 332 + 3632 333 + 3633 334 + 3634 335 + 3635 336 + 3636 337 + 3637 338 + 3638 339 + 3639 340 + 3640 341 + 3641 342 + 3642 343 + 3643 344 + 3644 345 + 3645 346 + 3646 347 + 3647 348 + 3648 349 + 3649 350 + 3650 351 + 3651 352 + 3652 353 + 3653 354 + 3654 355 + 3655 356 + 3656 357 + 3657 358 + 3658 359 + 3659 360 + 3660 361 + 3661 362 + 3662 363 + 3663 364 + 3664 365 + 3665 366 + 3666 367 + 3667 368 + 3668 369 + 3669 370 + 3670 371 + 3671 372 + 3672 373 + 3673 374 + 3674 375 + 3675 376 + 3676 377 + 3677 378 + 3678 379 + 3679 380 + 3680 381 + 3681 382 + 3682 383 + 3683 384 + 3684 385 + 3685 386 + 3686 387 + 3687 388 + 3688 389 + 3689 390 + 3690 391 + 3691 392 + 3692 393 + 3693 394 + 3694 395 + 3695 396 + 3696 397 + 3697 398 + 3698 399 + 3699 400 + 3700 401 + 3701 402 + 3702 403 + 3703 404 + 3704 405 + 3705 406 + 3706 407 + 3707 408 + 3708 409 + 3709 410 + 3710 411 + 3711 412 + 3712 413 + 3713 414 + 3714 415 + 3715 416 + 3716 417 + 3717 418 + 3718 419 + 3719 420 + 3720 421 + 3721 422 + 3722 423 + 3723 424 + 3724 425 + 3725 426 + 3726 427 + 3727 428 + 3728 429 + 3729 430 + 3730 431 + 3731 432 + 3732 433 + 3733 434 + 3734 435 + 3735 436 + 3736 437 + 3737 438 + 3738 439 + 3739 440 + 3740 441 + 3741 442 + 3742 443 + 3743 444 + 3744 445 + 3745 446 + 3746 447 + 3747 448 + 3748 449 + 3749 450 + 3750 451 + 3751 452 + 3752 453 + 3753 454 + 3754 455 + 3755 456 + 3756 457 + 3757 458 + 3758 459 + 3759 460 + 3760 461 + 3761 462 + 3762 463 + 3763 464 + 3764 465 + 3765 466 + 3766 467 + 3767 468 + 3768 469 + 3769 470 + 3770 471 + 3771 472 + 3772 473 + 3773 474 + 3774 475 + 3775 476 + 3776 477 + 3777 478 + 3778 479 + 3779 480 + 3780 481 + 3781 482 + 3782 483 + 3783 484 + 3784 485 + 3785 486 + 3786 487 + 3787 488 + 3788 489 + 3789 490 + 3790 491 + 3791 492 + 3792 493 + 3793 494 + 3794 495 + 3795 496 + 3796 497 + 3797 498 + 3798 499 + 3799 500 + 3800 501 + 3801 502 + 3802 503 + 3803 504 + 3804 505 + 3805 506 + 3806 507 + 3807 508 + 3808 509 + 3809 510 + 3810 511 + 3811 512 + 3812 513 + 3813 514 + 3814 515 + 3815 516 + 3816 517 + 3817 518 + 3818 519 + 3819 520 + 3820 521 + 3821 522 + 3822 523 + 3823 524 + 3824 525 + 3825 526 + 3826 527 + 3827 528 + 3828 529 + 3829 530 + 3830 531 + 3831 532 + 3832 533 + 3833 534 + 3834 535 + 3835 536 + 3836 537 + 3837 538 + 3838 539 + 3839 540 + 3840 541 + 3841 542 + 3842 543 + 3843 544 + 3844 545 + 3845 546 + 3846 547 + 3847 548 + 3848 549 + 3849 550 + 3850 551 + 3851 552 + 3852 553 + 3853 554 + 3854 555 + 3855 556 + 3856 557 + 3857 558 + 3858 559 + 3859 560 + 3860 561 + 3861 562 + 3862 563 + 3863 564 + 3864 565 + 3865 566 + 3866 567 + 3867 568 + 3868 569 + 3869 570 + 3870 571 + 3871 572 + 3872 573 + 3873 574 + 3874 575 + 3875 576 + 3876 577 + 3877 578 + 3878 579 + 3879 580 + 3880 581 + 3881 582 + 3882 583 + 3883 584 + 3884 585 + 3885 586 + 3886 587 + 3887 588 + 3888 589 + 3889 590 + 3890 591 + 3891 592 + 3892 593 + 3893 594 + 3894 595 + 3895 596 + 3896 597 + 3897 598 + 3898 599 + 3899 600 + 3900 601 + 3901 602 + 3902 603 + 3903 604 + 3904 605 + 3905 606 + 3906 607 + 3907 608 + 3908 609 + 3909 610 + 3910 611 + 3911 612 + 3912 613 + 3913 614 + 3914 615 + 3915 616 + 3916 617 + 3917 618 + 3918 619 + 3919 620 + 3920 621 + 3921 622 + 3922 623 + 3923 624 + 3924 625 + 3925 626 + 3926 627 + 3927 628 + 3928 629 + 3929 630 + 3930 631 + 3931 632 + 3932 633 + 3933 634 + 3934 635 + 3935 636 + 3936 637 + 3937 638 + 3938 639 + 3939 640 + 3940 641 + 3941 642 + 3942 643 + 3943 644 + 3944 645 + 3945 646 + 3946 647 + 3947 648 + 3948 649 + 3949 650 + 3950 651 + 3951 652 + 3952 653 + 3953 654 + 3954 655 + 3955 656 + 3956 657 + 3957 658 + 3958 659 + 3959 660 + 3960 661 + 3961 662 + 3962 663 + 3963 664 + 3964 665 + 3965 666 + 3966 667 + 3967 668 + 3968 669 + 3969 670 + 3970 671 + 3971 672 + 3972 673 + 3973 674 + 3974 675 + 3975 676 + 3976 677 + 3977 678 + 3978 679 + 3979 680 + 3980 681 + 3981 682 + 3982 683 + 3983 684 + 3984 685 + 3985 686 + 3986 687 + 3987 688 + 3988 689 + 3989 690 + 3990 691 + 3991 692 + 3992 693 + 3993 694 + 3994 695 + 3995 696 + 3996 697 + 3997 698 + 3998 699 + 3999 700 + 4000 701 + 4001 702 + 4002 703 + 4003 704 + 4004 705 + 4005 706 + 4006 707 + 4007 708 + 4008 709 + 4009 710 + 4010 711 + 4011 712 + 4012 713 + 4013 714 + 4014 715 + 4015 716 + 4016 717 + 4017 718 + 4018 719 + 4019 720 + 4020 721 + 4021 722 + 4022 723 + 4023 724 + 4024 725 + 4025 726 + 4026 727 + 4027 728 + 4028 729 + 4029 730 + 4030 731 + 4031 732 + 4032 733 + 4033 734 + 4034 735 + 4035 736 + 4036 737 + 4037 738 + 4038 739 + 4039 740 + 4040 741 + 4041 742 + 4042 743 + 4043 744 + 4044 745 + 4045 746 + 4046 747 + 4047 748 + 4048 749 + 4049 750 + 4050 751 + 4051 752 + 4052 753 + 4053 754 + 4054 755 + 4055 756 + 4056 757 + 4057 758 + 4058 759 + 4059 760 + 4060 761 + 4061 762 + 4062 763 + 4063 764 + 4064 765 + 4065 766 + 4066 767 + 4067 768 + 4068 769 + 4069 770 + 4070 771 + 4071 772 + 4072 773 + 4073 774 + 4074 775 + 4075 776 + 4076 777 + 4077 778 + 4078 779 + 4079 780 + 4080 781 + 4081 782 + 4082 783 + 4083 784 + 4084 785 + 4085 786 + 4086 787 + 4087 788 + 4088 789 + 4089 790 + 4090 791 + 4091 792 + 4092 793 + 4093 794 + 4094 795 + 4095 796 + 4096 797 + 4097 798 + 4098 799 + 4099 800 + 4100 801 + 4101 802 + 4102 803 + 4103 804 + 4104 805 + 4105 806 + 4106 807 + 4107 808 + 4108 809 + 4109 810 + 4110 811 + 4111 812 + 4112 813 + 4113 814 + 4114 815 + 4115 816 + 4116 817 + 4117 818 + 4118 819 + 4119 820 + 4120 821 + 4121 822 + 4122 823 + 4123 824 + 4124 825 + 4125 826 + 4126 827 + 4127 828 + 4128 829 + 4129 830 + 4130 831 + 4131 832 + 4132 833 + 4133 834 + 4134 835 + 4135 836 + 4136 837 + 4137 838 + 4138 839 + 4139 840 + 4140 841 + 4141 842 + 4142 843 + 4143 844 + 4144 845 + 4145 846 + 4146 847 + 4147 848 + 4148 849 + 4149 850 + 4150 851 + 4151 852 + 4152 853 + 4153 854 + 4154 855 + 4155 856 + 4156 857 + 4157 858 + 4158 859 + 4159 860 + 4160 861 + 4161 862 + 4162 863 + 4163 864 + 4164 865 + 4165 866 + 4166 867 + 4167 868 + 4168 869 + 4169 870 + 4170 871 + 4171 872 + 4172 873 + 4173 874 + 4174 875 + 4175 876 + 4176 877 + 4177 878 + 4178 879 + 4179 880 + 4180 881 + 4181 882 + 4182 883 + 4183 884 + 4184 885 + 4185 886 + 4186 887 + 4187 888 + 4188 889 + 4189 890 + 4190 891 + 4191 892 + 4192 893 + 4193 894 + 4194 895 + 4195 896 + 4196 897 + 4197 898 + 4198 899 + 4199 900 + 4200 901 + 4201 902 + 4202 903 + 4203 904 + 4204 905 + 4205 906 + 4206 907 + 4207 908 + 4208 909 + 4209 910 + 4210 911 + 4211 912 + 4212 913 + 4213 914 + 4214 915 + 4215 916 + 4216 917 + 4217 918 + 4218 919 + 4219 920 + 4220 921 + 4221 922 + 4222 923 + 4223 924 + 4224 925 + 4225 926 + 4226 927 + 4227 928 + 4228 929 + 4229 930 + 4230 931 + 4231 932 + 4232 933 + 4233 934 + 4234 935 + 4235 936 + 4236 937 + 4237 938 + 4238 939 + 4239 940 + 4240 941 + 4241 942 + 4242 943 + 4243 944 + 4244 945 + 4245 946 + 4246 947 + 4247 948 + 4248 949 + 4249 950 + 4250 951 + 4251 952 + 4252 953 + 4253 954 + 4254 955 + 4255 956 + 4256 957 + 4257 958 + 4258 959 + 4259 960 + 4260 961 + 4261 962 + 4262 963 + 4263 964 + 4264 965 + 4265 966 + 4266 967 + 4267 968 + 4268 969 + 4269 970 + 4270 971 + 4271 972 + 4272 973 + 17682 974 + 17683 975 + 17684 976 + 17685 977 + 17717 978 + 17718 979 + 17719 980 + 17720 981 + 17721 982 + 17722 983 + 17723 984 + 17724 985 + 17725 986 + 17726 987 + 17727 988 + 17728 989 + 17729 990 + 17730 991 + 17731 992 + 17732 993 + 17733 994 + 17734 995 + 17735 996 + 17736 997 + 17737 998 + 17738 999 + 17739 1000 + 17740 1001 + 17741 1002 + 17742 1003 + 17743 1004 + 17744 1005 + 17745 1006 + 17746 1007 + 17787 1008 + 17788 1009 + 17789 1010 + 17790 1011 + 17791 1012 + 17792 1013 + 17793 1014 + 19072 1015 + 19208 1016 + 19209 1017 + 19210 1018 + 19220 1019 + 19222 1020 + 19223 1021 + 19312 1022 + 19313 1023 + 19314 1024 + 19315 1025 + 19316 1026 diff --git a/imports_from_TOAR1/timeseries_oldID_newID.txt b/imports_from_TOAR1/timeseries_oldID_newID.txt new file mode 100644 index 0000000000000000000000000000000000000000..2b53b46cc0b34933fe44a0ec8c9b4e30d85ada80 --- /dev/null +++ b/imports_from_TOAR1/timeseries_oldID_newID.txt @@ -0,0 +1,626 @@ + 16601 191 + 16613 192 + 16622 193 + 16631 194 + 16640 195 + 16646 196 + 16655 197 + 16661 198 + 16670 199 + 16675 200 + 16678 201 + 16682 202 + 16687 203 + 16694 204 + 16704 205 + 16708 206 + 16717 207 + 16722 208 + 16732 209 + 16737 210 + 16742 211 + 16751 212 + 16754 213 + 16758 214 + 16765 215 + 16773 216 + 16782 217 + 16791 218 + 16800 219 + 16805 220 + 16815 221 + 16825 222 + 16834 223 + 16841 224 + 16848 225 + 16856 226 + 16865 227 + 16872 228 + 16880 229 + 16887 230 + 16894 231 + 16901 232 + 16904 233 + 16913 234 + 16922 235 + 16929 236 + 16935 237 + 16943 238 + 16951 239 + 16958 240 + 16965 241 + 16972 242 + 16978 243 + 16986 244 + 16992 245 + 16998 246 + 17006 247 + 17015 248 + 17022 249 + 17031 250 + 17040 251 + 17044 252 + 17049 253 + 17057 254 + 17064 255 + 17074 256 + 17081 257 + 17086 258 + 17092 259 + 17099 260 + 17107 261 + 17114 262 + 17121 263 + 17129 264 + 17133 265 + 17141 266 + 17151 267 + 17160 268 + 17169 269 + 17178 270 + 17187 271 + 17196 272 + 17203 273 + 17216 274 + 17227 275 + 17236 276 + 17245 277 + 17255 278 + 17264 279 + 17275 280 + 17286 281 + 17296 282 + 17301 283 + 17311 284 + 17319 285 + 17328 286 + 17332 287 + 17340 288 + 17350 289 + 17355 290 + 17362 291 + 17370 292 + 17373 293 + 17376 294 + 17384 295 + 17393 296 + 17400 297 + 17411 298 + 17420 299 + 17429 300 + 17437 301 + 17446 302 + 17453 303 + 17463 304 + 17474 305 + 17482 306 + 17487 307 + 17495 308 + 17504 309 + 17512 310 + 17520 311 + 17529 312 + 17540 313 + 17550 314 + 17557 315 + 17565 316 + 17570 317 + 17577 318 + 17587 319 + 17597 320 + 17607 321 + 17615 322 + 17623 323 + 17633 324 + 17641 325 + 17650 326 + 17660 327 + 17669 328 + 17677 329 + 17686 330 + 17696 331 + 17706 332 + 17715 333 + 17724 334 + 17735 335 + 17745 336 + 17755 337 + 17764 338 + 17774 339 + 17783 340 + 17792 341 + 17801 342 + 17810 343 + 17819 344 + 17828 345 + 17837 346 + 17846 347 + 17860 348 + 17870 349 + 17879 350 + 17888 351 + 17898 352 + 17908 353 + 17916 354 + 17924 355 + 17933 356 + 17936 357 + 17937 358 + 17946 359 + 17947 360 + 17955 361 + 17963 362 + 17974 363 + 17984 364 + 17995 365 + 18005 366 + 18015 367 + 18024 368 + 18034 369 + 18043 370 + 18051 371 + 18060 372 + 18066 373 + 18069 374 + 18078 375 + 18087 376 + 18095 377 + 18105 378 + 18109 379 + 18118 380 + 18127 381 + 18134 382 + 18142 383 + 18151 384 + 18160 385 + 18170 386 + 18177 387 + 18183 388 + 18192 389 + 18201 390 + 18207 391 + 18216 392 + 18222 393 + 18232 394 + 18241 395 + 18251 396 + 18262 397 + 18270 398 + 18278 399 + 18287 400 + 18292 401 + 18300 402 + 18311 403 + 18321 404 + 18331 405 + 18338 406 + 18347 407 + 18357 408 + 18368 409 + 18375 410 + 18385 411 + 18392 412 + 18397 413 + 18400 414 + 18403 415 + 18410 416 + 18415 417 + 18423 418 + 18431 419 + 18440 420 + 18448 421 + 18457 422 + 18465 423 + 18473 424 + 18480 425 + 18488 426 + 18504 427 + 18513 428 + 18532 429 + 18536 430 + 18540 431 + 18550 432 + 18565 433 + 18572 434 + 18581 435 + 18588 436 + 18595 437 + 18598 438 + 18602 439 + 18606 440 + 18611 441 + 18620 442 + 18634 443 + 18639 444 + 18648 445 + 18655 446 + 18665 447 + 18675 448 + 119934 449 + 18694 450 + 18706 451 + 18733 452 + 18761 453 + 18775 454 + 18783 455 + 18807 456 + 18813 457 + 18820 458 + 18823 459 + 18828 460 + 18836 461 + 18845 462 + 18857 463 + 18863 464 + 18876 465 + 18905 466 + 121839 467 + 18960 468 + 18967 469 + 18985 470 + 19000 471 + 19102 472 + 19135 473 + 19155 474 + 19182 475 + 90023 476 + 19212 477 + 19222 478 + 19276 479 + 19291 480 + 19321 481 + 19327 482 + 19331 483 + 19424 484 + 19432 485 + 19438 486 + 19457 487 + 19460 488 + 19468 489 + 19474 490 + 19478 491 + 19489 492 + 19496 493 + 19503 494 + 19513 495 + 19518 496 + 19522 497 + 19529 498 + 19536 499 + 19539 500 + 19546 501 + 19552 502 + 19558 503 + 19564 504 + 19571 505 + 19579 506 + 19586 507 + 19591 508 + 19599 509 + 19610 510 + 19617 511 + 19624 512 + 19628 513 + 19646 514 + 19655 515 + 19663 516 + 19666 517 + 19671 518 + 19685 519 + 19689 520 + 19690 521 + 19710 522 + 19720 523 + 19726 524 + 19730 525 + 19737 526 + 19749 527 + 19759 528 + 19770 529 + 19781 530 + 19793 531 + 19799 532 + 19805 533 + 19811 534 + 19820 535 + 19830 536 + 19839 537 + 19848 538 + 19856 539 + 19864 540 + 19868 541 + 19874 542 + 19883 543 + 19889 544 + 19903 545 + 19904 546 + 19910 547 + 19913 548 + 19923 549 + 19944 550 + 19954 551 + 19965 552 + 19973 553 + 19982 554 + 19985 555 + 19988 556 + 19999 557 + 20003 558 + 20013 559 + 20019 560 + 20026 561 + 20030 562 + 20038 563 + 20042 564 + 20055 565 + 20066 566 + 20075 567 + 20095 568 + 20103 569 + 20113 570 + 20117 571 + 20125 572 + 20128 573 + 20135 574 + 20141 575 + 20144 576 + 20147 577 + 20153 578 + 20160 579 + 20168 580 + 20175 581 + 20178 582 + 20183 583 + 20196 584 + 20206 585 + 20215 586 + 20222 587 + 20229 588 + 20233 589 + 20238 590 + 20245 591 + 20251 592 + 20264 593 + 20266 594 + 20274 595 + 20283 596 + 20301 597 + 20318 598 + 20322 599 + 20329 600 + 20337 601 + 20345 602 + 20353 603 + 20358 604 + 20367 605 + 20370 606 + 20377 607 + 20385 608 + 20388 609 + 20392 610 + 20399 611 + 20412 612 + 20419 613 + 20425 614 + 20428 615 + 20431 616 + 20434 617 + 20439 618 + 20444 619 + 20450 620 + 20457 621 + 20460 622 + 20466 623 + 20472 624 + 20485 625 + 20494 626 + 20506 627 + 20513 628 + 20517 629 + 20540 630 + 20547 631 + 20553 632 + 20556 633 + 20563 634 + 20567 635 + 20570 636 + 20572 637 + 20578 638 + 20589 639 + 20600 640 + 20612 641 + 20616 642 + 20625 643 + 20635 644 + 20646 645 + 20653 646 + 20663 647 + 20670 648 + 20677 649 + 20681 650 + 20689 651 + 20698 652 + 20707 653 + 20713 654 + 20720 655 + 20724 656 + 20730 657 + 20737 658 + 20750 659 + 20759 660 + 20766 661 + 20778 662 + 20784 663 + 20788 664 + 20796 665 + 20802 666 + 20807 667 + 20813 668 + 20816 669 + 20819 670 + 20826 671 + 20833 672 + 20840 673 + 20846 674 + 20850 675 + 20853 676 + 20857 677 + 20867 678 + 20880 679 + 20891 680 + 20904 681 + 20911 682 + 20930 683 + 20935 684 + 20938 685 + 20942 686 + 20948 687 + 20953 688 + 20959 689 + 20968 690 + 20978 691 + 20988 692 + 21006 693 + 21009 694 + 21015 695 + 21020 696 + 21027 697 + 21038 698 + 21052 699 + 21055 700 + 21062 701 + 21066 702 + 21073 703 + 21079 704 + 21086 705 + 21090 706 + 21096 707 + 21102 708 + 21111 709 + 21118 710 + 21125 711 + 21131 712 + 21142 713 + 21148 714 + 21157 715 + 21164 716 + 21167 717 + 21169 718 + 21178 719 + 21188 720 + 21199 721 + 21209 722 + 21212 723 + 21218 724 + 21221 725 + 21224 726 + 21229 727 + 21235 728 + 21241 729 + 21247 730 + 21263 731 + 21271 732 + 21281 733 + 21289 734 + 21292 735 + 21295 736 + 21298 737 + 21305 738 + 21312 739 + 21326 740 + 21332 741 + 21338 742 + 21341 743 + 21344 744 + 21347 745 + 21353 746 + 21359 747 + 21363 748 + 21370 749 + 21378 750 + 21386 751 + 21392 752 + 21395 753 + 21405 754 + 21409 755 + 21416 756 + 21433 757 + 21434 758 + 21437 759 + 21446 760 + 21451 761 + 21455 762 + 21460 763 + 21468 764 + 21474 765 + 21480 766 + 21490 767 + 21509 768 + 21518 769 + 21550 770 + 21569 771 + 21586 772 + 21593 773 + 21603 774 + 21624 775 + 21629 776 + 21656 777 + 21660 778 + 21672 779 + 21686 780 + 21693 781 + 21701 782 + 21722 783 + 21724 784 + 21734 785 + 21743 786 + 21757 787 + 21767 788 + 21777 789 + 21785 790 + 21789 791 + 21801 792 + 48433 793 + 48432 794 + 48434 795 + 48435 796 + 48343 797 + 48344 798 + 48327 799 + 48341 800 + 48340 801 + 48337 802 + 48338 803 + 48339 804 + 48342 805 + 97072 806 + 97075 807 + 97082 808 + 97121 809 + 111982 810 + 119940 811 + 119952 812 + 119960 813 + 121774 814 + 121803 815 + 121827 816