Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSCAR/Surface OAI endpoint errors #50

Open
tomkralidis opened this issue Jul 4, 2022 · 1 comment
Open

OSCAR/Surface OAI endpoint errors #50

tomkralidis opened this issue Jul 4, 2022 · 1 comment
Labels
close? OSCAR/Surface Issue addresses OSCAR/Surface feature

Comments

@tomkralidis
Copy link
Contributor

Running pyoscar's harvesting functionality (connecting to the OSCAR/Surface OAI endpoint) yields the following error:

(pyoscar) (base) tomkralidis@aruba:~/Dev/pyoscar/pyoscar$ pyoscar harvest -d iii --verbosity DEBUG
DEBUG:pyoscar:Setting URL
Harvesting records
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): oscardepl.wmo.int:443
DEBUG:urllib3.connectionpool:https://oscardepl.wmo.int:443 "GET /oai/provider?verb=ListRecords&metadataPrefix=wmdr HTTP/1.1" 200 355
DEBUG:pyoscar:Request: https://oscardepl.wmo.int/oai/provider?verb=ListRecords&metadataPrefix=wmdr
DEBUG:pyoscar:Response: 200
DEBUG:pyoscar:Raw XML response:
<?xml version="1.0" encoding="UTF-8" ?>

<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
 http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
<responseDate>2022-07-04T23:28:03Z</responseDate>
<request verb="ListRecords" metadataPrefix="wmdr">https://oscardepl.wmo.int:443/oai/provider</request>
    <error code="cannotDisseminateFormat">This repository has no items available in format &#39;wmdr&#39;</error>

</OAI-PMH>
DEBUG:pyoscar:stopping harvesting

Running a rudimentary query such as https://oscardepl.wmo.int/oai/provider?verb=ListSets yields the following error as well:

<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
 http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
<responseDate>2022-07-04T23:45:27Z</responseDate>
<request verb="ListSets">https://oscardepl.wmo.int:443/oai/provider</request>
    <error code="noSetHierarchy">This repository does not currently have any sets defined</error>

</OAI-PMH>

Note that these issues are found in both prod and depl.

Any ideas on the above issues? At first glance, the OAI endpoint looks to be a default install which needs to be configured.

In the MSC case, we would like to run a periodic harvest of station metadata for our data assimilation/production workflows.

@amilan17
Copy link
Member

amilan17 commented Jul 5, 2022

@tomkralidis -- this team/repository doesn't manage OSCAR/Surface. I believe that you can register an issue here: https://oscar.wmo.int/surface/#/feedback.

@amilan17 amilan17 added close? OSCAR/Surface Issue addresses OSCAR/Surface feature labels Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
close? OSCAR/Surface Issue addresses OSCAR/Surface feature
Projects
None yet
Development

No branches or pull requests

2 participants