Skip to content

Commit

Permalink
Merge pull request #9 from wmo-im/ingest-oscar
Browse files Browse the repository at this point in the history
Ingest oscar
  • Loading branch information
david-i-berry authored Sep 15, 2023
2 parents 02c2bea + 49fd37c commit db0e19a
Show file tree
Hide file tree
Showing 5 changed files with 397 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/basic_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: docker-compose -f test/docker-compose.yml up -d

- name: Wait for service to start
run: sleep 30
run: sleep 45

- name: Check status code
run: |
Expand Down
15 changes: 9 additions & 6 deletions webapp/public/code_lists/operatingStatus.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[
{
"name": "Operational",
"id": "operational",
"description": "The station fully complies with the reporting obligations of the observation programme/network concerned."
}
]
{"description": "The station has been declared as closed by the responsible supervising organization.","name": "Closed", "id": "closed"},
{"description": "The station is considered non-operational/non-reporting temporarily, but is expected to resume its operations/reporting after the temporary suspension.","name": "Non-reporting", "id": "nonReporting"},
{"description": "The station fully complies with the reporting obligations of the observation programme/network concerned.","name": "Operational", "id": "operational"},
{"description": "The station partially complies with the reporting obligations of the observation programme/network concerned.","name": "Partly operational", "id": "partlyOperational"},
{"description": "The station is planned to be deployed sometime in the future, and all information provided is indicative only. No observations are taken.","name": "Planned", "id": "planned"},
{"description": "The station is deployed and producing data but still not fully ready to start reporting operationally.","name": "Pre-operational", "id": "preOperational"},
{"description": "NA","name": "Stand-by", "id": "standBy"},
{"description": "The declared operating status of this particular station/platform is unknown.","name": "unknown", "id": "unknown"}
]
222 changes: 220 additions & 2 deletions webapp/public/code_lists/territory.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,226 @@
[
{"name": "Algeria", "id": "Algeria", "description": "Algeria"},
{"name": "Afghanistan", "id": "Afghanistan", "description": "Afghanistan"},
{"name": "Angola", "id": "Angola", "description": "Angola"},
{"name": "Anguilla", "id": "Anguilla", "description": "Anguilla"},
{"name": "Albania", "id": "Albania", "description": "Albania"},
{"name": "Andorra", "id": "Andorra", "description": "Andorra"},
{"name": "United Arab Emirates (the)", "id": "United Arab Emirates (the)", "description": "United Arab Emirates (the)"},
{"name": "Argentina", "id": "Argentina", "description": "Argentina"},
{"name": "Armenia", "id": "Armenia", "description": "Armenia"},
{"name": "Antigua and Barbuda", "id": "Antigua and Barbuda", "description": "Antigua and Barbuda"},
{"name": "Australia", "id": "Australia", "description": "Australia"},
{"name": "Austria", "id": "Austria", "description": "Austria"},
{"name": "Azerbaijan", "id": "Azerbaijan", "description": "Azerbaijan"},
{"name": "British Caribbean Territories", "id": "British Caribbean Territories", "description": "British Caribbean Territories"},
{"name": "Burundi", "id": "Burundi", "description": "Burundi"},
{"name": "Belgium", "id": "Belgium", "description": "Belgium"},
{"name": "Benin", "id": "Benin", "description": "Benin"},
{"name": "Burkina Faso", "id": "Burkina Faso", "description": "Burkina Faso"},
{"name": "Bangladesh", "id": "Bangladesh", "description": "Bangladesh"},
{"name": "Bulgaria", "id": "Bulgaria", "description": "Bulgaria"},
{"name": "Bahrain", "id": "Bahrain", "description": "Bahrain"},
{"name": "Bahamas", "id": "Bahamas", "description": "Bahamas"},
{"name": "Bosnia and Herzegovina", "id": "Bosnia and Herzegovina", "description": "Bosnia and Herzegovina"},
{"name": "Belarus", "id": "Belarus", "description": "Belarus"},
{"name": "Belize", "id": "Belize", "description": "Belize"},
{"name": "Bermuda", "id": "Bermuda", "description": "Bermuda"},
{"name": "Bolivia, Plurinational State of", "id": "Bolivia, Plurinational State of", "description": "Bolivia, Plurinational State of"},
{"name": "Brazil", "id": "Brazil", "description": "Brazil"},
{"name": "Barbados", "id": "Barbados", "description": "Barbados"},
{"name": "Brunei Darussalam", "id": "Brunei Darussalam", "description": "Brunei Darussalam"},
{"name": "Bhutan", "id": "Bhutan", "description": "Bhutan"},
{"name": "Botswana", "id": "Botswana", "description": "Botswana"},
{"name": "Central African Republic", "id": "Central African Republic", "description": "Central African Republic"},
{"name": "Canada", "id": "Canada", "description": "Canada"},
{"name": "Cocos (Keeling) Islands", "id": "Cocos (Keeling) Islands", "description": "Cocos (Keeling) Islands"},
{"name": "Switzerland", "id": "Switzerland", "description": "Switzerland"},
{"name": "Chile", "id": "Chile", "description": "Chile"},
{"name": "China", "id": "China", "description": "China"},
{"name": "Cote d'Ivoire", "id": "Cote d'Ivoire", "description": "Cote d'Ivoire"},
{"name": "Cameroon", "id": "Cameroon", "description": "Cameroon"},
{"name": "Congo, Democratic Republic of the", "id": "Congo, Democratic Republic of the", "description": "Congo, Democratic Republic of the"},
{"name": "Congo", "id": "Congo", "description": "Congo"},
{"name": "Cook Islands", "id": "Cook Islands", "description": "Cook Islands"},
{"name": "Colombia", "id": "Colombia", "description": "Colombia"},
{"name": "Comoros", "id": "Comoros", "description": "Comoros"},
{"name": "Cabo Verde", "id": "Cabo Verde", "description": "Cabo Verde"},
{"name": "Costa Rica", "id": "Costa Rica", "description": "Costa Rica"},
{"name": "Curacao and Sint Maarten", "id": "Curacao and Sint Maarten", "description": "Curacao and Sint Maarten"},
{"name": "Cuba", "id": "Cuba", "description": "Cuba"},
{"name": "Curacao", "id": "Curacao", "description": "Curacao"},
{"name": "Christmas Island", "id": "Christmas Island", "description": "Christmas Island"},
{"name": "Cayman Islands", "id": "Cayman Islands", "description": "Cayman Islands"},
{"name": "Cyprus", "id": "Cyprus", "description": "Cyprus"},
{"name": "Czech Republic", "id": "Czech Republic", "description": "Czech Republic"},
{"name": "Germany", "id": "Germany", "description": "Germany"},
{"name": "Djibouti", "id": "Djibouti", "description": "Djibouti"},
{"name": "Dominica", "id": "Dominica", "description": "Dominica"},
{"name": "Denmark", "id": "Denmark", "description": "Denmark"},
{"name": "Dominican Republic", "id": "Dominican Republic", "description": "Dominican Republic"},
{"name": "Algeria", "id": "Algeria", "description": "Algeria"},
{"name": "Ecuador", "id": "Ecuador", "description": "Ecuador"},
{"name": "Egypt", "id": "Egypt", "description": "Egypt"},
{"name": "Eritrea", "id": "Eritrea", "description": "Eritrea"},
{"name": "Western Sahara", "id": "Western Sahara", "description": "Western Sahara"},
{"name": "Spain", "id": "Spain", "description": "Spain"},
{"name": "Estonia", "id": "Estonia", "description": "Estonia"},
{"name": "Ethiopia", "id": "Ethiopia", "description": "Ethiopia"},
{"name": "Finland", "id": "Finland", "description": "Finland"},
{"name": "Fiji", "id": "Fiji", "description": "Fiji"},
{"name": "Falkland Islands (Malvinas)", "id": "Falkland Islands (Malvinas)", "description": "Falkland Islands (Malvinas)"},
{"name": "France", "id": "France", "description": "France"},
{"name": "Micronesia, Federated States of", "id": "Micronesia, Federated States of", "description": "Micronesia, Federated States of"},
{"name": "Gabon", "id": "Gabon", "description": "Gabon"},
{"name": "United Kingdom (the)", "id": "United Kingdom (the)", "description": "United Kingdom (the)"},
{"name": "Georgia", "id": "Georgia", "description": "Georgia"},
{"name": "Ghana", "id": "Ghana", "description": "Ghana"},
{"name": "Gibraltar", "id": "Gibraltar", "description": "Gibraltar"},
{"name": "Guinea", "id": "Guinea", "description": "Guinea"},
{"name": "Gambia", "id": "Gambia", "description": "Gambia"},
{"name": "Guinea-Bissau", "id": "Guinea-Bissau", "description": "Guinea-Bissau"},
{"name": "Equatorial Guinea", "id": "Equatorial Guinea", "description": "Equatorial Guinea"},
{"name": "Greece", "id": "Greece", "description": "Greece"},
{"name": "Grenada", "id": "Grenada", "description": "Grenada"},
{"name": "Greenland", "id": "Greenland", "description": "Greenland"},
{"name": "Guatemala", "id": "Guatemala", "description": "Guatemala"},
{"name": "Guyana", "id": "Guyana", "description": "Guyana"},
{"name": "Hong Kong, China", "id": "Hong Kong, China", "description": "Hong Kong, China"},
{"name": "Honduras", "id": "Honduras", "description": "Honduras"},
{"name": "Croatia", "id": "Croatia", "description": "Croatia"},
{"name": "Haiti", "id": "Haiti", "description": "Haiti"},
{"name": "Hungary", "id": "Hungary", "description": "Hungary"},
{"name": "Indonesia", "id": "Indonesia", "description": "Indonesia"},
{"name": "India", "id": "India", "description": "India"},
{"name": "Ireland", "id": "Ireland", "description": "Ireland"},
{"name": "Iran, Islamic Republic of", "id": "Iran, Islamic Republic of", "description": "Iran, Islamic Republic of"},
{"name": "Iraq", "id": "Iraq", "description": "Iraq"},
{"name": "Iceland", "id": "Iceland", "description": "Iceland"},
{"name": "Israel", "id": "Israel", "description": "Israel"},
{"name": "Italy", "id": "Italy", "description": "Italy"},
{"name": "Jamaica", "id": "Jamaica", "description": "Jamaica"},
{"name": "Jordan", "id": "Jordan", "description": "Jordan"},
{"name": "Japan", "id": "Japan", "description": "Japan"},
{"name": "Kazakhstan", "id": "Kazakhstan", "description": "Kazakhstan"},
{"name": "Kenya", "id": "Kenya", "description": "Kenya"},
{"name": "Kyrgyzstan", "id": "Kyrgyzstan", "description": "Kyrgyzstan"},
{"name": "Cambodia", "id": "Cambodia", "description": "Cambodia"},
{"name": "Kiribati", "id": "Kiribati", "description": "Kiribati"},
{"name": "Saint Kitts and Nevis", "id": "Saint Kitts and Nevis", "description": "Saint Kitts and Nevis"},
{"name": "Korea, Republic of", "id": "Korea, Republic of", "description": "Korea, Republic of"},
{"name": "Kuwait", "id": "Kuwait", "description": "Kuwait"},
{"name": "Lao People's Democratic Republic", "id": "Lao People's Democratic Republic", "description": "Lao People's Democratic Republic"},
{"name": "Lebanon", "id": "Lebanon", "description": "Lebanon"},
{"name": "Liberia", "id": "Liberia", "description": "Liberia"},
{"name": "Libya", "id": "Libya", "description": "Libya"},
{"name": "Saint Lucia", "id": "Saint Lucia", "description": "Saint Lucia"},
{"name": "Liechtenstein", "id": "Liechtenstein", "description": "Liechtenstein"},
{"name": "Sri Lanka", "id": "Sri Lanka", "description": "Sri Lanka"},
{"name": "Lesotho", "id": "Lesotho", "description": "Lesotho"},
{"name": "Lithuania", "id": "Lithuania", "description": "Lithuania"},
{"name": "Luxembourg", "id": "Luxembourg", "description": "Luxembourg"},
{"name": "Latvia", "id": "Latvia", "description": "Latvia"},
{"name": "Macao, China", "id": "Macao, China", "description": "Macao, China"},
{"name": "Morocco", "id": "Morocco", "description": "Morocco"},
{"name": "Monaco", "id": "Monaco", "description": "Monaco"},
{"name": "Moldova, Republic of", "id": "Moldova, Republic of", "description": "Moldova, Republic of"},
{"name": "Madagascar", "id": "Madagascar", "description": "Madagascar"},
{"name": "Maldives", "id": "Maldives", "description": "Maldives"},
{"name": "Mexico", "id": "Mexico", "description": "Mexico"},
{"name": "Marshall Islands", "id": "Marshall Islands", "description": "Marshall Islands"},
{"name": "Macedonia, the former Yugoslav Republic of", "id": "Macedonia, the former Yugoslav Republic of", "description": "Macedonia, the former Yugoslav Republic of"},
{"name": "Mali", "id": "Mali", "description": "Mali"},
{"name": "Malta", "id": "Malta", "description": "Malta"},
{"name": "Myanmar", "id": "Myanmar", "description": "Myanmar"},
{"name": "Montenegro", "id": "Montenegro", "description": "Montenegro"},
{"name": "Mongolia", "id": "Mongolia", "description": "Mongolia"},
{"name": "Mozambique", "id": "Mozambique", "description": "Mozambique"},
{"name": "Mauritania", "id": "Mauritania", "description": "Mauritania"},
{"name": "Montserrat", "id": "Montserrat", "description": "Montserrat"},
{"name": "Mauritius", "id": "Mauritius", "description": "Mauritius"},
{"name": "Malawi", "id": "Malawi", "description": "Malawi"},
{"name": "Malaysia", "id": "Malaysia", "description": "Malaysia"},
{"name": "Namibia", "id": "Namibia", "description": "Namibia"},
{"name": "New Caledonia", "id": "New Caledonia", "description": "New Caledonia"},
{"name": "Niger", "id": "Niger", "description": "Niger"},
{"name": "Nigeria", "id": "Nigeria", "description": "Nigeria"},
{"name": "Nicaragua", "id": "Nicaragua", "description": "Nicaragua"},
{"name": "Niue", "id": "Niue", "description": "Niue"},
{"name": "Netherlands", "id": "Netherlands", "description": "Netherlands"},
{"name": "Norway", "id": "Norway", "description": "Norway"},
{"name": "Nepal", "id": "Nepal", "description": "Nepal"},
{"name": "Nauru", "id": "Nauru", "description": "Nauru"},
{"name": "New Zealand", "id": "New Zealand", "description": "New Zealand"},
{"name": "Oman", "id": "Oman", "description": "Oman"},
{"name": "Pakistan", "id": "Pakistan", "description": "Pakistan"},
{"name": "Panama", "id": "Panama", "description": "Panama"},
{"name": "Pitcairn", "id": "Pitcairn", "description": "Pitcairn"},
{"name": "Peru", "id": "Peru", "description": "Peru"},
{"name": "Philippines", "id": "Philippines", "description": "Philippines"},
{"name": "Palau", "id": "Palau", "description": "Palau"},
{"name": "Papua New Guinea", "id": "Papua New Guinea", "description": "Papua New Guinea"},
{"name": "Poland", "id": "Poland", "description": "Poland"},
{"name": "Puerto Rico", "id": "Puerto Rico", "description": "Puerto Rico"},
{"name": "Korea, Democratic People's Republic of", "id": "Korea, Democratic People's Republic of", "description": "Korea, Democratic People's Republic of"},
{"name": "Portugal", "id": "Portugal", "description": "Portugal"},
{"name": "Paraguay", "id": "Paraguay", "description": "Paraguay"},
{"name": "Palestine, State of", "id": "Palestine, State of", "description": "Palestine, State of"},
{"name": "French Polynesia", "id": "French Polynesia", "description": "French Polynesia"},
{"name": "Qatar", "id": "Qatar", "description": "Qatar"},
{"name": "Romania", "id": "Romania", "description": "Romania"},
{"name": "Germany", "id": "Germany", "description": "Germany"}
{"name": "Russian Federation", "id": "Russian Federation", "description": "Russian Federation"},
{"name": "Rwanda", "id": "Rwanda", "description": "Rwanda"},
{"name": "Saudi Arabia", "id": "Saudi Arabia", "description": "Saudi Arabia"},
{"name": "Sudan", "id": "Sudan", "description": "Sudan"},
{"name": "Senegal", "id": "Senegal", "description": "Senegal"},
{"name": "Singapore", "id": "Singapore", "description": "Singapore"},
{"name": "South Georgia and the South Sandwich Islands", "id": "South Georgia and the South Sandwich Islands", "description": "South Georgia and the South Sandwich Islands"},
{"name": "Saint Helena", "id": "Saint Helena", "description": "Saint Helena"},
{"name": "Solomon Islands", "id": "Solomon Islands", "description": "Solomon Islands"},
{"name": "Sierra Leone", "id": "Sierra Leone", "description": "Sierra Leone"},
{"name": "El Salvador", "id": "El Salvador", "description": "El Salvador"},
{"name": "Somalia", "id": "Somalia", "description": "Somalia"},
{"name": "Saint Pierre and Miquelon", "id": "Saint Pierre and Miquelon", "description": "Saint Pierre and Miquelon"},
{"name": "Serbia", "id": "Serbia", "description": "Serbia"},
{"name": "South Sudan", "id": "South Sudan", "description": "South Sudan"},
{"name": "Sao Tome and Principe", "id": "Sao Tome and Principe", "description": "Sao Tome and Principe"},
{"name": "Suriname", "id": "Suriname", "description": "Suriname"},
{"name": "Slovakia", "id": "Slovakia", "description": "Slovakia"},
{"name": "Slovenia", "id": "Slovenia", "description": "Slovenia"},
{"name": "Sweden", "id": "Sweden", "description": "Sweden"},
{"name": "Eswatini", "id": "Eswatini", "description": "Eswatini"},
{"name": "Sint Maarten", "id": "Sint Maarten", "description": "Sint Maarten"},
{"name": "Seychelles", "id": "Seychelles", "description": "Seychelles"},
{"name": "Syrian Arab Republic", "id": "Syrian Arab Republic", "description": "Syrian Arab Republic"},
{"name": "Turks and Caicos Islands", "id": "Turks and Caicos Islands", "description": "Turks and Caicos Islands"},
{"name": "Chad", "id": "Chad", "description": "Chad"},
{"name": "Togo", "id": "Togo", "description": "Togo"},
{"name": "Thailand", "id": "Thailand", "description": "Thailand"},
{"name": "Tajikistan", "id": "Tajikistan", "description": "Tajikistan"},
{"name": "Tokelau", "id": "Tokelau", "description": "Tokelau"},
{"name": "Turkmenistan", "id": "Turkmenistan", "description": "Turkmenistan"},
{"name": "Timor-Leste", "id": "Timor-Leste", "description": "Timor-Leste"},
{"name": "Tonga", "id": "Tonga", "description": "Tonga"},
{"name": "Trinidad and Tobago", "id": "Trinidad and Tobago", "description": "Trinidad and Tobago"},
{"name": "Tunisia", "id": "Tunisia", "description": "Tunisia"},
{"name": "Turkey", "id": "Turkey", "description": "Turkey"},
{"name": "Tuvalu", "id": "Tuvalu", "description": "Tuvalu"},
{"name": "Taiwan, Province of China", "id": "Taiwan, Province of China", "description": "Taiwan, Province of China"},
{"name": "Tanzania, United Republic of", "id": "Tanzania, United Republic of", "description": "Tanzania, United Republic of"},
{"name": "Uganda", "id": "Uganda", "description": "Uganda"},
{"name": "Ukraine", "id": "Ukraine", "description": "Ukraine"},
{"name": "Uruguay", "id": "Uruguay", "description": "Uruguay"},
{"name": "United States (the)", "id": "United States (the)", "description": "United States (the)"},
{"name": "Uzbekistan", "id": "Uzbekistan", "description": "Uzbekistan"},
{"name": "Saint Vincent and Grenadines", "id": "Saint Vincent and Grenadines", "description": "Saint Vincent and Grenadines"},
{"name": "Venezuela, Bolivarian Republic of", "id": "Venezuela, Bolivarian Republic of", "description": "Venezuela, Bolivarian Republic of"},
{"name": "British Virgin Islands", "id": "British Virgin Islands", "description": "British Virgin Islands"},
{"name": "Viet Nam", "id": "Viet Nam", "description": "Viet Nam"},
{"name": "Vanuatu", "id": "Vanuatu", "description": "Vanuatu"},
{"name": "Samoa", "id": "Samoa", "description": "Samoa"},
{"name": "Yemen", "id": "Yemen", "description": "Yemen"},
{"name": "South Africa", "id": "South Africa", "description": "South Africa"},
{"name": "Zambia", "id": "Zambia", "description": "Zambia"},
{"name": "Zimbabwe", "id": "Zimbabwe", "description": "Zimbabwe"},
{"name": "inapplicable", "id": "inapplicable", "description": "inapplicable"},
{"name": "unknown", "id": "unknown", "description": "unknown"}
]
Loading

0 comments on commit db0e19a

Please sign in to comment.