c |
<flask.g of 'ckan.config.middleware.flask_app'> |
data |
{'agreement': 'true', 'alternative_identifier': '', 'author': None, 'author_email': None, 'creator_user_id': '994bdae6-cbc9-47f5-bd04-27672cfa8648', 'data_classification': 'static', 'data_collection_organization': '', 'data_structure_category': 'structured', 'dataset_language': 'English', 'dataset_license_url': '', 'did_author_or_contact_organization_collect_the_data': 'true', 'email': 'vanderlaanm@arc.agric.za', 'id': '9c187888-4ccc-4f96-aaa7-29b88dde40d1', 'isopen': False, 'keywords': 'HAMSA, SWAT, HAWQS, land cover, 2013, 2018, 2020', 'license': 'Open (Creative Commons)', 'license_id': None, 'license_title': None, 'maintainer': None, 'maintainer_email': None, 'metadata_created': '2022-08-24T11:59:33.692074', 'metadata_modified': '2022-10-04T07:26:04.559151', 'name': 'a-south-african-national-input-database-to-run-the-swat-model-in-a-gis-land-cover-maps', 'notes': 'This WRC Funded Study Collated Multiple Geo-Spatial Datasets At A National Scale And Interpreted/Formatted The Data For Use As Baseline Input To Run The Soil And Water Assessment Tool (SWAT) In Any Catchment In SA. ArcSWAT Is A Graphical User Interface For SWAT And ArcGIS® Software Extension, Streamlining Access To Key Databases And Facilitating The Preparation Of Input Datasets. These Layers Can Also Be Used In QGIS And QSWAT.', 'num_resources': 5, 'num_tags': 0, 'organization': {'id': 'ed7b716c-553d-482f-a842-475df0d010b5', 'name': 'university-of-the-free-state', 'title': 'University of the Free State', 'type': 'organization', 'description': 'The University of the Free State (UFS) creates opportunities and growth through leading learning and teaching, focused research, and impactful engagement with society. Situated in the heart of South Africa, our character of caring and diversity translates into an outstanding university experience.', 'image_url': '2022-05-27-073611.52998420220527UFSlogo.JPG', 'created': '2022-05-27T07:36:11.550754', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'owner_org': 'ed7b716c-553d-482f-a842-475df0d010b5', 'private': False, 'publication_date': '2022-02-01', 'publisher': 'Water Research Commission', 'spatial': '{"type": "Polygon", "coordinates": [[[16.4699, -22.1265], [32.8931, -22.1265], [32.8931, -34.8212], [16.4699, -34.8212], [16.4699, -22.1265]]]}', 'state': 'active', 'title': 'A SOUTH AFRICAN NATIONAL INPUT DATABASE TO RUN THE SWAT MODEL IN A GIS (land cover maps)', 'type': 'metadata-form', 'uploader_estimation_of_extent_of_processing': 'access', 'url': None, 'version': None, 'vertical_extent_datum': 'masl', 'wrc_project_number': 'WRC Project C2019-2020-00089', 'wro_theme': 'hydrological_data_and_modelling', 'authors': [{'author_department': 'Department of Geography', 'author_email': 'LeRouxJJ@ufs.ac.za', 'author_name': 'Jay', 'author_surname': 'le Roux', 'contact_same_as_author': 'true'}], 'contact_person': [{'contact_department': '', 'contact_email': '', 'contact_name': '', 'contact_orgnization': ''}], 'data_reference_date': [{'data_reference_date_from': '', 'data_reference_date_to': ''}], 'extras': [{'key': 'cloud_path', 'value': 'hydrological_data_and_modelling/structured/access/static'}, {'key': 'recommended_citation', 'value': 'Le Roux J, Mararakanye N, Mudaly L, Harold W, Van Der Laan M (2022) Development Of A South African National Input Database To Run The SWAT Model In A GIS. WRC Project C2019-2020-00089, Pretoria, South Africa.'}], 'minimum_maximum_extent': [{'maximum_vertical_extent': '50', 'minimum_vertical_extent': '50'}], 'resources': [{'cache_last_updated': None, 'cache_url': None, 'cloud_path': 'Hydrological_Data_And_Modelling/Structured/Access/Static', 'created': '2022-08-24T12:08:04.814085', 'dataset_description': 'National land cover map for South Africa for 2013 and SWAT codes.', 'datastore_active': False, 'description': None, 'file_to_bigquery_table': False, 'format': 'ZIP', 'hash': '', 'id': '646b889f-af3d-4cc4-b25f-d23e9fdc57b5', 'is_bigquery_table': False, 'is_data_supplementary': False, 'is_link': False, 'last_modified': None, 'metadata_modified': '2022-10-04T07:26:04.565718', 'mimetype': None, 'mimetype_inner': None, 'name': 'NLC2013_SWAT.zip', 'package_id': '9c187888-4ccc-4f96-aaa7-29b88dde40d1', 'position': 0, 'resource_name': 'National land cover 2013', 'resource_type': None, 'size': None, 'state': 'active', 'url': 'https://storage.cloud.google.com/wrc_wro_datasets/Hydrological_Data_And_Modelling/Structured/Access/Static/a-south-african-national-input-database-to-run-the-swat-model-in-a-gis-land-cover-maps/nlc2013_swat_id_646b889f-af3d-4cc4-b25f-d23e9fdc57b5.zip', 'url_type': 'link', 'has_views': False}, {'cache_last_updated': None, 'cache_url': None, 'cloud_path': 'Hydrological_Data_And_Modelling/Structured/Access/Static', 'created': '2022-08-24T12:56:37.483786', 'dataset_description': 'National land cover map for South Africa for 2020 and SWAT codes. Prepared after the completion of the original project by Mr Harold Weepener at the ARC.', 'datastore_active': False, 'description': None, 'file_to_bigquery_table': False, 'format': 'ZIP', 'hash': '', 'id': '8fc37807-58a3-48dc-b51d-f9dd5a4e8e09', 'is_bigquery_table': False, 'is_data_supplementary': False, 'is_link': False, 'last_modified': None, 'metadata_modified': '2022-10-04T07:26:04.566013', 'mimetype': None, 'mimetype_inner': None, 'name': 'NLC2020_SWAT.zip', 'package_id': '9c187888-4ccc-4f96-aaa7-29b88dde40d1', 'position': 1, 'resource_name': 'National land cover 2020', 'resource_type': None, 'size': None, 'state': 'active', 'url': 'https://storage.cloud.google.com/wrc_wro_datasets/Hydrological_Data_And_Modelling/Structured/Access/Static/a-south-african-national-input-database-to-run-the-swat-model-in-a-gis-land-cover-maps/nlc2020_swat_id_8fc37807-58a3-48dc-b51d-f9dd5a4e8e09.zip', 'url_type': 'link', 'has_views': False}, {'cache_last_updated': None, 'cache_url': None, 'cloud_path': 'Hydrological_Data_And_Modelling/Structured/Access/Static', 'created': '2022-08-24T13:01:38.778500', 'dataset_description': 'National land cover map for South Africa for 2018 and SWAT codes.', 'datastore_active': False, 'description': None, 'file_to_bigquery_table': False, 'format': 'ZIP', 'hash': '', 'id': '0f3ea5f6-83b6-4b89-9aff-03bec5c1b621', 'is_bigquery_table': False, 'is_data_supplementary': False, 'is_link': False, 'last_modified': None, 'metadata_modified': '2022-10-04T07:26:04.566269', 'mimetype': None, 'mimetype_inner': None, 'name': 'NLC2018_SWAT.zip', 'package_id': '9c187888-4ccc-4f96-aaa7-29b88dde40d1', 'position': 2, 'resource_name': 'National land cover 2018', 'resource_type': None, 'size': None, 'state': 'active', 'url': 'https://storage.cloud.google.com/wrc_wro_datasets/Hydrological_Data_And_Modelling/Structured/Access/Static/a-south-african-national-input-database-to-run-the-swat-model-in-a-gis-land-cover-maps/nlc2018_swat_id_0f3ea5f6-83b6-4b89-9aff-03bec5c1b621.zip', 'url_type': 'link', 'has_views': False}, {'cache_last_updated': None, 'cache_url': None, 'cloud_path': 'Hydrological_Data_And_Modelling/Structured/Access/Static', 'created': '2022-08-24T13:08:00.815110', 'dataset_description': 'National land cover 2013 codes for SWAT\r\nSWAT codes for the 2013 land cover map', 'datastore_active': False, 'description': None, 'file_to_bigquery_table': False, 'format': 'TXT', 'hash': '', 'id': 'dc53945e-cf2b-4ebf-bb28-e8d1a43f8f5b', 'is_bigquery_table': False, 'is_data_supplementary': False, 'is_link': False, 'last_modified': None, 'metadata_modified': '2022-10-04T07:26:04.566531', 'mimetype': None, 'mimetype_inner': None, 'name': 'LU_landcover2018.txt', 'package_id': '9c187888-4ccc-4f96-aaa7-29b88dde40d1', 'position': 3, 'resource_name': 'National land cover 2013 codes for SWAT', 'resource_type': None, 'size': None, 'state': 'active', 'url': 'https://storage.cloud.google.com/wrc_wro_datasets/Hydrological_Data_And_Modelling/Structured/Access/Static/a-south-african-national-input-database-to-run-the-swat-model-in-a-gis-land-cover-maps/lu_landcover2018_id_dc53945e-cf2b-4ebf-bb28-e8d1a43f8f5b.txt', 'url_type': 'link', 'has_views': False}, {'cache_last_updated': None, 'cache_url': None, 'cloud_path': 'Hydrological_Data_And_Modelling/Structured/Access/Static', 'created': '2022-08-24T13:08:36.330868', 'dataset_description': '\r\nSWAT codes for the 2020 land cover map', 'datastore_active': False, 'description': None, 'file_to_bigquery_table': False, 'format': 'TXT', 'hash': '', 'id': 'e2d5c746-20a3-4f2e-90bd-b8d5288005e4', 'is_bigquery_table': False, 'is_data_supplementary': False, 'is_link': False, 'last_modified': None, 'metadata_modified': '2022-10-04T07:26:04.566780', 'mimetype': None, 'mimetype_inner': None, 'name': 'LU_landcover2020.txt', 'package_id': '9c187888-4ccc-4f96-aaa7-29b88dde40d1', 'position': 4, 'resource_name': 'National land cover 2020 codes for SWAT', 'resource_type': None, 'size': None, 'state': 'active', 'url': 'https://storage.cloud.google.com/wrc_wro_datasets/Hydrological_Data_And_Modelling/Structured/Access/Static/a-south-african-national-input-database-to-run-the-swat-model-in-a-gis-land-cover-maps/lu_landcover2020_id_e2d5c746-20a3-4f2e-90bd-b8d5288005e4.txt', 'url_type': 'link', 'has_views': False}], 'tags': [], 'groups': [], 'relationships_as_subject': [], 'relationships_as_object': []} |
field |
{'form_snippet': 'repeating_subfields_extended.html', 'field_name': 'authors', 'label': 'Authors', 'repeating_label': 'Author', 'preset': 'repeated_subfields_extended', 'repeating_subfields': [{'field_name': 'author_name', 'label': 'Author first name', 'required': True}, {'field_name': 'author_surname', 'label': 'Author surname'}, {'field_name': 'author_email', 'label': 'Email', 'required': False}, {'field_name': 'author_organization', 'label': 'Author organization', 'required': False}, {'field_name': 'author_department', 'label': 'Department', 'required': False}, {'form_snippet': 'multiple_checkbox_mod.html', 'field_name': 'contact_same_as_author', 'label': 'Is this author a contact person for the dataset?', 'required': False, 'preset': 'mod_checkbox', 'choices': [{'value': None, 'label': None}]}]} |
g |
<flask.g of 'ckan.config.middleware.flask_app'> |
h |
{'redirect_to': <function redirect_to at 0x7f2986db0700>, 'url': <function url at 0x7f2986db0820>, 'get_site_protocol_and_host': <function get_site_protocol_and_host at 0x7f2986db0790>, 'url_for': <function url_for at 0x7f2986db09d0>, 'url_for_static': <function url_for_static at 0x7f2986db0b80>, 'url_for_static_or_external': <function url_for_static_or_external at 0x7f2986db0c10>, 'is_url': <function is_url at 0x7f2986db0ca0>, 'url_is_local': <function url_is_local at 0x7f2986db0dc0>, 'full_current_url': <function full_current_url at 0x7f2986db0e50>, 'current_url': <function current_url at 0x7f2986db0ee0>, 'lang': <function lang at 0x7f2986db0f70>, 'ckan_version': <function ckan_version at 0x7f2986d31040>, 'lang_native_name': <function lang_native_name at 0x7f2986d310d0>, 'is_rtl_language': <function is_rtl_language at 0x7f2986d31160>, 'get_rtl_css': <function get_rtl_css at 0x7f2986d311f0>, 'flash_notice': <function flash_notice at 0x7f2986d31280>, 'flash_error': <function flash_error at 0x7f2986d31700>, 'flash_success': <function flash_success at 0x7f2986d31790>, 'are_there_flash_messages': <function are_there_flash_messages at 0x7f2986d31820>, 'link_to': <function link_to at 0x7f2986d31ca0>, 'file': <function file at 0x7f2986d31d30>, 'submit': <function submit at 0x7f2986d31dc0>, 'nav_link': <function nav_link at 0x7f2986d31e50>, 'wrapped': <function deprecated.<locals>.decorator.<locals>.wrapped at 0x7f2986d32dc0>, 'build_nav_main': <function build_nav_main at 0x7f2986d32040>, 'build_nav_icon': <function build_nav_icon at 0x7f2986d32430>, 'build_nav': <function build_nav at 0x7f2986d324c0>, 'build_extra_admin_nav': <function build_extra_admin_nav at 0x7f2986d325e0>, 'default_group_type': <function default_group_type at 0x7f2986d32700>, 'get_facet_items_dict': <function get_facet_items_dict at 0x7f2986d32790>, 'has_more_facets': <function has_more_facets at 0x7f2986d32820>, 'unselected_facet_items': <function unselected_facet_items at 0x7f2986d328b0>, 'get_param_int': <function get_param_int at 0x7f2986d32940>, 'sorted_extras': <function sorted_extras at 0x7f2986d32b80>, 'check_access': <function check_access at 0x7f2986d32c10>, 'linked_user': <function linked_user at 0x7f2986d32ca0>, 'group_name_to_title': <function group_name_to_title at 0x7f2986d32e50>, 'truncate': <function truncate at 0x7f2986d32ee0>, 'markdown_extract': <function markdown_extract at 0x7f2986d32f70>, 'icon_url': <function icon_url at 0x7f2986d33040>, 'icon_html': <function icon_html at 0x7f2986d330d0>, 'icon': <function icon at 0x7f2986d33160>, 'resource_icon': <function resource_icon at 0x7f2986d331f0>, 'format_icon': <function format_icon at 0x7f2986d33280>, 'dict_list_reduce': <function dict_list_reduce at 0x7f2986d33310>, 'gravatar': <function gravatar at 0x7f2986d333a0>, 'sanitize_url': <function sanitize_url at 0x7f2986d33430>, 'user_image': <function user_image at 0x7f2986d334c0>, 'pager_url': <function pager_url at 0x7f2986d33550>, 'get_page_number': <function get_page_number at 0x7f2986d335e0>, 'get_display_timezone': <function get_display_timezone at 0x7f2986d33670>, 'render_datetime': <function render_datetime at 0x7f2986d33700>, 'date_str_to_datetime': <function date_str_to_datetime at 0x7f2986d33790>, 'parse_rfc_2822_date': <function parse_rfc_2822_date at 0x7f2986d33820>, 'time_ago_from_timestamp': <function time_ago_from_timestamp at 0x7f2986d338b0>, 'button_attr': <function button_attr at 0x7f2986d33b80>, 'dataset_display_name': <function dataset_display_name at 0x7f2986d33c10>, 'dataset_link': <function dataset_link at 0x7f2986d33ca0>, 'resource_display_name': <function resource_display_name at 0x7f2986d33d30>, 'resource_link': <function resource_link at 0x7f2986d33dc0>, 'tag_link': <function tag_link at 0x7f2986d33e50>, 'group_link': <function group_link at 0x7f2986d33ee0>, 'organization_link': <function organization_link at 0x7f2986d33f70>, 'dump_json': <function dump_json at 0x7f2986d35040>, 'auto_log_message': <function auto_log_message at 0x7f2986d350d0>, 'activity_div': <function activity_div at 0x7f2986d35160>, 'snippet': <function snippet at 0x7f2986d351f0>, 'convert_to_dict': <function convert_to_dict at 0x7f2986d35280>, 'follow_button': <function follow_button at 0x7f2986d35310>, 'follow_count': <function follow_count at 0x7f2986d353a0>, 'add_url_param': <function add_url_param at 0x7f2986d354c0>, 'remove_url_param': <function remove_url_param at 0x7f2986d35550>, 'include_resource': <function include_resource at 0x7f2986d355e0>, 'urls_for_resource': <function urls_for_resource at 0x7f2986d35670>, 'debug_inspect': <function debug_inspect at 0x7f2986d35700>, 'popular': <function popular at 0x7f2986d35790>, 'groups_available': <function groups_available at 0x7f2986d35820>, 'organizations_available': <function organizations_available at 0x7f2986d358b0>, 'roles_translated': <function roles_translated at 0x7f2986d35940>, 'user_in_org_or_group': <function user_in_org_or_group at 0x7f2986d359d0>, 'dashboard_activity_stream': <function dashboard_activity_stream at 0x7f2986d35a60>, 'recently_changed_packages_activity_stream': <function recently_changed_packages_activity_stream at 0x7f2986d35af0>, 'escape_js': <function escape_js at 0x7f2986d35b80>, 'get_pkg_dict_extra': <function get_pkg_dict_extra at 0x7f2986d35c10>, 'get_request_param': <function get_request_param at 0x7f2986d35ca0>, 'html_auto_link': <function html_auto_link at 0x7f2986d35d30>, 'render_markdown': <function render_markdown at 0x7f2986d35dc0>, 'format_resource_items': <function format_resource_items at 0x7f2986d35e50>, 'resource_preview': <function resource_preview at 0x7f2986d35ee0>, 'get_allowed_view_types': <function get_allowed_view_types at 0x7f2986d35f70>, 'rendered_resource_view': <function rendered_resource_view at 0x7f2986d37040>, 'view_resource_url': <function view_resource_url at 0x7f2986d370d0>, 'resource_view_is_filterable': <function resource_view_is_filterable at 0x7f2986d37160>, 'resource_view_get_fields': <function resource_view_get_fields at 0x7f2986d371f0>, 'resource_view_is_iframed': <function resource_view_is_iframed at 0x7f2986d37280>, 'resource_view_icon': <function resource_view_icon at 0x7f2986d37310>, 'resource_view_display_preview': <function resource_view_display_preview at 0x7f2986d373a0>, 'resource_view_full_page': <function resource_view_full_page at 0x7f2986d37430>, 'remove_linebreaks': <function remove_linebreaks at 0x7f2986d374c0>, 'list_dict_filter': <function list_dict_filter at 0x7f2986d37550>, 'SI_number_span': <function SI_number_span at 0x7f2986d375e0>, 'new_activities': <function new_activities at 0x7f2986d37670>, 'uploads_enabled': <function uploads_enabled at 0x7f2986d37700>, 'get_featured_organizations': <function get_featured_organizations at 0x7f2986d37790>, 'get_featured_groups': <function get_featured_groups at 0x7f2986d37820>, 'featured_group_org': <function featured_group_org at 0x7f2986d378b0>, 'get_site_statistics': <function get_site_statistics at 0x7f2986d37940>, 'resource_formats': <function resource_formats at 0x7f2986d379d0>, 'unified_resource_format': <function unified_resource_format at 0x7f2986d37a60>, 'check_config_permission': <function check_config_permission at 0x7f2986d37af0>, 'get_organization': <function get_organization at 0x7f2986d37b80>, 'license_options': <function license_options at 0x7f2986d37c10>, 'get_translated': <function get_translated at 0x7f2986d37ca0>, 'facets': <function facets at 0x7f2986d37d30>, 'mail_to': <function mail_to at 0x7f2986d37dc0>, 'radio': <function radio at 0x7f2986d37e50>, 'clean_html': <function clean_html at 0x7f2986d37ee0>, 'flash': <ckan.lib.helpers._Flash object at 0x7f2986ec3eb0>, 'localised_number': <function localised_number at 0x7f2986e99d30>, 'localised_SI_number': <function localised_SI_number at 0x7f2986e99e50>, 'localised_nice_date': <function localised_nice_date at 0x7f2986e99ca0>, 'localised_filesize': <function localised_filesize at 0x7f2986e99dc0>, 'get_available_locales': <function get_available_locales at 0x7f298814ddc0>, 'get_locales_dict': <function get_locales_dict at 0x7f298814dd30>, 'literal': <class 'ckan.lib.helpers.literal'>, 'asbool': <function asbool at 0x7f29887d0b80>, 'urlencode': <function urlencode at 0x7f298980fa60>, 'include_asset': <function include_asset at 0x7f2986db01f0>, 'render_assets': <function render_assets at 0x7f2986db0310>, 'sanitize_id': <function sanitize_id at 0x7f2986d38040>, 'compare_pkg_dicts': <function compare_pkg_dicts at 0x7f2986d380d0>, 'activity_list_select': <function activity_list_select at 0x7f2986d38160>, 'get_collaborators': <function get_collaborators at 0x7f2986d381f0>, 'can_update_owner_org': <function can_update_owner_org at 0x7f2986d38280>, 'parse_cloud_tabular_data': <function parse_cloud_tabular_data at 0x7f2972644430>, 'get_data': <function make_query at 0x7f29715f65e0>, 'get_spatial_data': <function make_spatial_query at 0x7f297018aee0>, 'get_reference_date': <function get_reference_date at 0x7f296a217430>, 'get_responsible_party': <function get_responsible_party at 0x7f296a2174c0>, 'get_common_map_config': <function get_common_map_config at 0x7f296a217550>, 'package_list_for_source': <function package_list_for_source at 0x7f296a217820>, 'package_count_for_source': <function package_count_for_source at 0x7f296a2178b0>, 'harvesters_info': <function harvesters_info at 0x7f296a217940>, 'harvester_types': <function harvester_types at 0x7f296a2179d0>, 'harvest_frequencies': <function harvest_frequencies at 0x7f296a217a60>, 'link_for_harvest_object': <function link_for_harvest_object at 0x7f296a217af0>, 'harvest_source_extra_fields': <function harvest_source_extra_fields at 0x7f296a217b80>, 'bootstrap_version': <function bootstrap_version at 0x7f296a217c10>, 'get_harvest_source': <function get_harvest_source at 0x7f296a217670>, 'get_bigquery_table_name': <function get_bigquery_table_name at 0x7f29726441f0>, 'get_package_name': <function get_package_name at 0x7f2972644280>, 'convert_geojson_to_bbox': <function convert_geojson_to_bbox at 0x7f297262bdc0>, 'get_default_bounding_box': <function get_default_bounding_box at 0x7f29782975e0>, 'resource_read_helper': <function resource_read_helper at 0x7f2972644310>, 'get_package_count': <function get_packages_count at 0x7f29726445e0>, 'get_org_count': <function get_organizations_count at 0x7f2972644670>, 'get_default_spatial_search_extent': <function get_default_spatial_search_extent at 0x7f2985329430>, 'scheming_language_text': <function scheming_language_text at 0x7f2972553c10>, 'scheming_field_choices': <function scheming_field_choices at 0x7f2972553e50>, 'scheming_choices_label': <function scheming_choices_label at 0x7f2972553ee0>, 'scheming_datastore_choices': <function scheming_datastore_choices at 0x7f2972553f70>, 'scheming_field_required': <function scheming_field_required at 0x7f2972557040>, 'scheming_dataset_schemas': <function scheming_dataset_schemas at 0x7f29725570d0>, 'scheming_get_presets': <function scheming_get_presets at 0x7f2972557160>, 'scheming_get_preset': <function scheming_get_preset at 0x7f29725571f0>, 'scheming_get_dataset_schema': <function scheming_get_dataset_schema at 0x7f2972557280>, 'scheming_group_schemas': <function scheming_group_schemas at 0x7f2972557310>, 'scheming_get_group_schema': <function scheming_get_group_schema at 0x7f29725573a0>, 'scheming_organization_schemas': <function scheming_organization_schemas at 0x7f2972557430>, 'scheming_get_organization_schema': <function scheming_get_organization_schema at 0x7f29725574c0>, 'scheming_get_schema': <function scheming_get_schema at 0x7f2972557550>, 'scheming_field_by_name': <function scheming_field_by_name at 0x7f29725575e0>, 'scheming_datetime_to_utc': <function scheming_datetime_to_utc at 0x7f2972557700>, 'scheming_datetime_to_tz': <function scheming_datetime_to_tz at 0x7f2972557790>, 'scheming_get_timezones': <function scheming_get_timezones at 0x7f2972557820>, 'scheming_display_json_value': <function scheming_display_json_value at 0x7f29725578b0>, 'scheming_render_from_string': <function scheming_render_from_string at 0x7f2972557940>, 'scheming_flatten_subfield': <function scheming_flatten_subfield at 0x7f29725579d0>, 'datastore_dictionary': <function datastore_dictionary at 0x7f29725b7c10>, 'get_map_config': <function get_mapview_config at 0x7f29726563a0>, 'get_dataproxy_url': <function get_dataproxy_url at 0x7f2972656430>} |
request |
<Request 'http://data.waterresearchobservatory.org/dataset/a-south-african-national-input-database-to-run-the-swat-model-in-a-gis-land-cover-maps?activity_id=b589ccb8-6c62-4335-83f7-aee7900d0909' [GET]> |
schema |
{'scheming_version': 2, 'dataset_type': 'metadata-form', 'dataset_fields': [{'field_name': 'email', 'label': 'Email', 'help_text': 'Input your Email address', 'required': True, 'form_placeholder': 'Your email address'}, {'validators': 'if_empty_same_as(name) unicode_safe', 'form_snippet': 'title.html', 'form_attrs': {'data-module': 'slug-preview-target'}, 'field_name': 'title', 'label': 'Dataset title (maximum 100 characters)', 'preset': 'title', 'required': True, 'form_placeholder': 'e.g. A descriptive title'}, {'validators': 'not_empty unicode_safe name_validator package_name_validator', 'form_snippet': 'slug.html', 'field_name': 'name', 'label': 'Dateset metadata URL', 'form_placeholder': '/metadata-form/dataset_title', 'preset': 'dataset_slug', 'display_snippet': 'link.html'}, {'form_snippet': 'repeating_subfields_extended.html', 'field_name': 'authors', 'label': 'Authors', 'repeating_label': 'Author', 'preset': 'repeated_subfields_extended', 'repeating_subfields': [{'field_name': 'author_name', 'label': 'Author first name', 'required': True}, {'field_name': 'author_surname', 'label': 'Author surname'}, {'field_name': 'author_email', 'label': 'Email', 'required': False}, {'field_name': 'author_organization', 'label': 'Author organization', 'required': False}, {'field_name': 'author_department', 'label': 'Department', 'required': False}, {'form_snippet': 'multiple_checkbox_mod.html', 'field_name': 'contact_same_as_author', 'label': 'Is this author a contact person for the dataset?', 'required': False, 'preset': 'mod_checkbox', 'choices': [{'value': None, 'label': None}]}]}, {'form_snippet': 'repeating_subfields_extended.html', 'field_name': 'contact_person', 'label': 'Contact person', 'repeating_label': 'Contact', 'preset': 'repeated_subfields_extended', 'repeating_subfields': [{'validators': 'author_same_as_contact', 'form_snippet': 'text.html', 'form_attrs': {'data-module': 'ckanext_wro_title_field_word_count'}, 'field_name': 'contact_name', 'label': 'Contact name', 'required': True, 'preset': 'contact_same_as_author_preset'}, {'validators': 'author_same_as_contact', 'form_snippet': 'text.html', 'form_attrs': {'data-module': 'ckanext_wro_title_field_word_count'}, 'field_name': 'contact_email', 'label': 'Email', 'required': True, 'preset': 'contact_same_as_author_preset'}, {'validators': 'author_same_as_contact', 'form_snippet': 'text.html', 'form_attrs': {'data-module': 'ckanext_wro_title_field_word_count'}, 'field_name': 'contact_orgnization', 'label': 'Contact organization', 'required': False, 'preset': 'contact_same_as_author_preset'}, {'field_name': 'contact_department', 'label': 'Department', 'required': False}]}, {'field_name': 'notes', 'label': 'Dataset description', 'help_text': 'Short description of dataset, e.g. 0-500 words', 'required': True, 'form_placeholder': 'Description', 'form_snippet': 'markdown.html'}, {'validators': 'owner_org_validator unicode', 'form_snippet': 'organization_mod.html', 'field_name': 'owner_org', 'label': 'Organization', 'required': True, 'preset': 'organization_mod_preset', 'help_text': 'organization that is the custodian of the data'}, {'field_name': 'citation_title', 'label': 'Recommended citation', 'required': False, 'help_allow_html': True, 'help_text': 'Citation that the data custodian recommend to be used when citing this dataset <br/> Recommended format <br/> ODINDO A, BAME I, MUSAZURA W, HUGHES J and BUCKLEY C (2016) integrating agriculture in designing on-site, low-cost sanitation technologies in social housing schemes, WRC Report No. TT 700/16. Water Research Commission, Pretoria. <br/> <br/> MCCAFFERTY JR, ELLENDER BR, WEYL OLF and BRITZ PJ (2012) REVIEW: the use of water resources for inland fisheries in South Africa. Water SA 38 (2)327-334. http://doi.org/10.4314/wsa.v38i2.18. '}, {'form_snippet': 'multiple_checkbox_mod.html', 'field_name': 'did_author_or_contact_organization_collect_the_data', 'label': 'Did the author / contact organization collect the data?', 'required': False, 'validators': 'boolean_validator', 'preset': 'mod_checkbox', 'choices': [{'value': None, 'label': None}]}, {'validators': 'author_or_contact_collected_data', 'form_snippet': 'text.html', 'display_snippet': 'text_mod.html', 'form_attrs': {'data-module': 'ckanext_wro_toggle_data_collection_field'}, 'field_name': 'data_collection_organization', 'label': 'Name of organization that collected the data', 'required': True, 'preset': 'data_collection_text_preset'}, {'field_name': 'dataset_language', 'label': 'Dataset language', 'help_text': 'Assumed English if not provided', 'required': False, 'form_placeholder': 'Dataset language'}, {'field_name': 'publisher', 'label': 'Publisher', 'help_text': 'Institution that owns/publishes dataset', 'required': True, 'form_placeholder': 'Publisher'}, {'form_snippet': 'date.html', 'display_snippet': 'date.html', 'validators': 'scheming_required isodate convert_to_json_if_date', 'field_name': 'publication_date', 'label': 'Publication date', 'help_text': 'Year in which the digital object was published', 'required': True, 'preset': 'date'}, {'field_name': 'wrc_project_number', 'label': 'Project number', 'help_text': 'WRC Project or report number (if applicable)', 'required': False}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'license', 'label': 'License', 'help_text': 'For creative commons license please visit https://creativecommons.org/', 'required': True, 'preset': 'select', 'choices': [{'value': 'Open (Creative Commons)', 'label': 'Open (Creative commons)'}, {'value': 'Restricted access', 'label': 'Restricted access'}, {'value': 'Ohter', 'label': 'Other'}]}, {'field_name': 'dataset_license_url', 'label': 'License URL', 'help_text': 'Specify the licence url. If the data is to be made publicly available, we suggest https://creativecommons.org/licenses/by-sa/4.0/', 'required': False, 'form_placeholder': 'http://creativecommons.org/'}, {'field_name': 'keywords', 'label': 'Keywords', 'help_text': 'Keywords are used to tag/describe the dataset for discoverability in data searches (e.g. temperature, salinity, maize)', 'required': True, 'form_placeholder': 'Input keywords'}, {'validators': 'convert_raw_input_to_geojson', 'form_snippet': 'map.html', 'display_snippet': 'spatial_bounds.html', 'field_name': 'spatial', 'label': 'Geographic location or bounding box coordinates', 'help_allow_html': True, 'required': False, 'help_text': '<b>Leave blank if data is not spatial</b>, expressed as point coordinates or upper-left lower-right bounding box decimal coordinates (comma separated going with the order lat, long), e.g. -20.629147, 13.165308,-35.2462649, 35.7811468 for all of South Africa.', 'preset': 'spatial_data_preset'}, {'form_snippet': 'select.html', 'choices': [{'value': 'agriculture', 'label': 'Agriculture'}, {'value': 'biodiversity', 'label': 'Biodiversity'}, {'value': 'citizen_science', 'label': 'Citizen science'}, {'value': 'dam_level', 'label': 'Dam level'}, {'value': 'drought', 'label': 'Drought'}, {'value': 'economics', 'label': 'Economics'}, {'value': 'ecosystems', 'label': 'Ecosystems'}, {'value': 'estuaries', 'label': 'Estuaries'}, {'value': 'food_security', 'label': 'Food security'}, {'value': 'groundwater', 'label': 'Groundwater'}, {'value': 'hydrological_data_and_modelling', 'label': 'Hydrological data and modelling'}, {'value': 'legislation', 'label': 'Legislation'}, {'value': 'marine_water', 'label': 'Marine water'}, {'value': 'mine_water', 'label': 'Mine water'}, {'value': 'social', 'label': 'Social'}, {'value': 'streamflow', 'label': 'Streamflow'}, {'value': 'transboundary_water', 'label': 'Transboundary water'}, {'value': 'water_quality', 'label': 'Water quality'}, {'value': 'water_scarcity', 'label': 'Water scarcity'}, {'value': 'weather_and_climate_data', 'label': 'Weather and climate data'}, {'value': 'wetlands', 'label': 'Wetlands'}], 'form_attrs': {'data-module': 'add_fa_icon_to_tpoic_label'}, 'field_name': 'wro_theme', 'label': 'Topic category\n', 'required': True, 'preset': 'topic_category', 'help_text': 'As judged by person uploading the dataset(s)'}, {'form_snippet': 'radio.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'data_structure_category', 'label': 'Data structure category', 'required': True, 'preset': 'radio', 'choices': [{'value': 'structured', 'label': 'Structured (clearly labelled and in a standardised format)'}, {'value': 'semi-structured', 'label': 'Semi-structured (does not fully conform to the tabular format of structured data, but may contain tags or markers identifying properties to arrange it into an organisational framework)'}, {'value': 'unstructured', 'label': 'Unstructured (data cannot be stored in relational databases and is often stored in its raw format, such as images)'}]}, {'form_snippet': 'radio.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'uploader_estimation_of_extent_of_processing', 'label': 'Uploader estimation of extent to which data have been processed', 'required': True, 'preset': 'radio', 'choices': [{'value': 'raw', 'label': 'Raw'}, {'value': 'still_being_processed', 'label': 'Still being processed'}, {'value': 'refined', 'label': 'Refined'}, {'value': 'access', 'label': 'Access'}]}, {'form_snippet': 'mod_radio.html', 'field_name': 'data_classification', 'label': 'Is the data time series or static', 'required': True, 'preset': 'data_classification_preset', 'choices': [{'value': 'time series', 'label': 'Time series'}, {'value': 'static', 'label': 'Static'}, {'value': 'both', 'label': 'Both'}]}, {'form_snippet': 'repeating_subfields_extended.html', 'field_name': 'data_reference_date', 'label': 'Data reference date', 'required': False, 'preset': 'repeated_subfields_extended', 'help_text': 'Specify the reference dates', 'repeating_subfields': [{'validators': 'conditional_date_reference_validator', 'form_snippet': 'date.html', 'display_snippet': 'date.html', 'field_name': 'data_reference_date_from', 'label': 'Data reference date (from)', 'required': False, 'preset': 'conditional_required_reference_date'}, {'validators': 'conditional_date_reference_validator', 'form_snippet': 'date.html', 'display_snippet': 'date.html', 'field_name': 'data_reference_date_to', 'required': False, 'label': 'Data reference date (to)', 'preset': 'conditional_required_reference_date'}]}, {'field_name': 'alternative_identifier', 'label': 'Alternate identifier', 'help_text': 'Any unique identifier for the metadata/dataset (e.g. links to other identifiers, DOI, ISBN, Google Cloud Storage URL, this field is mandatory for replacement versions of the same data).', 'required': False, 'form_placeholder': 'e.g. DOI'}, {'field_name': 'vertical_extent_datum', 'label': 'Vertical extent datum', 'help_text': 'Unit of measure or reference point used to describe vertical extents (e.g. masl - metres above sea level, mbgl - metres below ground level)', 'required': False, 'form_placeholder': None}, {'form_snippet': 'repeating_subfields_extended.html', 'field_name': 'minimum_maximum_extent', 'label': 'Vertical minimum-maximum extent', 'help_text': 'Specify the vertical minimum and maximum extent', 'preset': 'repeated_subfields_extended', 'required': False, 'repeating_subfields': [{'field_name': 'minimum_vertical_extent', 'label': 'Minimum vertical extent'}, {'field_name': 'maximum_vertical_extent', 'label': 'Maximum vertical extent'}]}, {'validators': 'agreement', 'form_snippet': 'multiple_checkbox_mod.html', 'field_name': 'agreement', 'label': 'I agree to the data management plan and terms and conditions of the WRO', 'required': True, 'preset': 'agreement', 'choices': [{'value': None, 'label': None}]}], 'resource_fields': [{'validators': 'ignore_missing unicode_safe remove_whitespace', 'form_snippet': 'upload.html', 'form_placeholder': 'http://example.com/my-data.csv', 'upload_field': 'upload', 'upload_clear': 'clear_upload', 'upload_label': 'File', 'field_name': 'name', 'label': 'URL', 'preset': 'resource_url_upload'}, {'field_name': 'resource_name', 'label': 'Name', 'form_placeholder': 'The name of the data to be uploaded or referred to via a url'}, {'field_name': 'dataset_description', 'label': 'Description of the data', 'form_snippet': 'markdown.html', 'form_placeholder': 'Some useful notes about the data'}, {'form_snippet': 'multiple_checkbox_mod.html', 'field_name': 'file_to_bigquery_table', 'label': 'Should file stored in BigQuery table?', 'validators': 'boolean_validator empty_resource_info', 'preset': 'mod_checkbox', 'choices': [{'value': None, 'label': None}], 'help_text': 'Whether or not structured files should go to BigQuery'}, {'form_snippet': 'multiple_checkbox_mod.html', 'field_name': 'zipped_file', 'label': 'Just upload zipped file and make it available as is?', 'validators': 'boolean_validator empty_resource_info', 'preset': 'mod_checkbox', 'choices': [{'value': None, 'label': None}], 'help_text': 'Zipped files will not be unzipped and stored as separate files but kept as is'}, {'form_snippet': 'multiple_checkbox_mod.html', 'field_name': 'is_data_supplementary', 'label': 'Supplementary material?', 'required': False, 'validators': 'boolean_validator empty_resource_info', 'preset': 'mod_checkbox', 'choices': [{'value': None, 'label': None}], 'help_text': 'Will be considered primary data assets if not specified'}, {'validators': 'lower_case', 'form_placeholder': 'eg. CSV, XML or JSON', 'form_attrs': {'data-module': 'autocomplete', 'data-module-source': '/api/2/util/resource/format_autocomplete?incomplete=?'}, 'field_name': 'format', 'label': 'Format', 'required': True, 'preset': 'resource_format_autocomplete', 'help_text': 'Name of the data transfer format'}]} |
session |
{'_domain': None, '_path': '/', '_accessed_time': 1696135579.9588432, '_creation_time': 1696135579.9588432} |
ungettext |
<function ungettext at 0x7f29887d03a0> |