So I have published data with embargo, but later lifted the embargo from the edit page, however, I cannot retrieve my dataset from within the tutorial notebooks.
First, you stumbled over a bug in our new version. Lifting the embargo, removed the embargo information entirely instead of disabling the embargo. I have to fix that ASAP. Do you want me to reestablish the embargo or to actually lift it?
Second, yes you can analyse embargo data, but you have to authenticate yourself to the API. The ArchiveQuery takes username and password keyword args. These should allow you to access your embargo and staging data.
I lifted the embargo for now. The 112 entries of upload Uzb4M0iTSDCDBXId8_RDXw should be accessible now without any authentication. I can re-establish the embargo later, when I figured out what was going wrong.
What you did was perfectly right. The nomad-lab package that provides the ArchiveQuery has a wrong configuration. If you execute the following somewhere before you create the ArchiveQuery, the authentication should work.
from nomad import config
config.keycloak.realm_name='fairdi_nomad_prod'
The AI Toolkit uses the new version now and authentication has been fixed. If you provide username, password, you should be able to access embargo data now. Do you want the embargo on this upload?