# Datastore making - unidentified realm

**URL:** <https://forum.access-hive.org.au/t/datastore-making-unidentified-realm/6216>\
**Category:** COSIMA\
**Created:** [5 April 2026 07:29 UTC](https://forum.access-hive.org.au/t/datastore-making-unidentified-realm/6216 "2026-04-05T07:29:42Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![CharlesTurner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/charlesturner/32/2518_2.png) [@CharlesTurner](https://forum.access-hive.org.au/u/CharlesTurner)\
**Post date:** [14 April 2026 07:18 UTC](https://forum.access-hive.org.au/t/datastore-making-unidentified-realm/6216/15 "2026-04-14T07:18:34Z")

</div>

Okay, took a lot longer than I was hoping - for some reason listing all the files in that directory in `g40` is extremely slow, but I have an answer for why this is occurring.

The culprit is [this line](https://github.com/ACCESS-NRI/access-nri-intake-catalog/blob/710ed074b6ef00f5d6f4c169558ce93f70ba71fd/src/access_nri_intake/source/utils.py#L154):

```python
def append_attrs(self, var: str, attrs: dict) -> None:
    """
    Append attributes to the _VarInfo object, if the attribute has a
    'long_name' key.
    """
    if "long_name" not in attrs:
        return None
    ...

```

It turns out that we have a line in the `Builder`s that ignores all variables without a long name attribute - and that in these files, there is no long name.

I’ve done a bit of git archaeology and it looks like this guard is totally vestigial, and just got stuck around due to the way this was refactored. I’m opening a PR to fix it now.

Unfortunately there are gonna be a couple of complications with rebuilding the datastore with the fixed guard due to the namespacing issues over at [Build-esm-datastore failing in conda/analysis3-26.03](https://forum.access-hive.org.au/t/build-esm-datastore-failing-in-conda-analysis3-26-03/6245/) so rebuilding a working version of the datastore won’t be totally straightforward. I’ll do the same thing as there - rebuild the datastore and then change the permissions so you can copy it off somewhere - in the meantime.

I’ll update once I have a working datastore for you.

---

_[View the full topic](https://forum.access-hive.org.au/t/datastore-making-unidentified-realm/6216)._
