# Can't access files in 01deg\_jra55v13\_ryf9091 simulation

**URL:** <https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541>\
**Category:** Experiments\
**Tags:** help, cosima, access-om2\
**Created:** [25 May 2025 09:09 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541 "2025-05-25T09:09:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sb4233](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@sb4233](https://forum.access-hive.org.au/u/sb4233)\
**Post date:** [25 May 2025 09:09 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/1 "2025-05-25T09:09:33Z")

</div>

Hi,  
I am not able to access outputs from the run `01deg_jra55v13_ryf9091 ` -

```auto
ds = process_dataset(cc.querying.getvar('01deg_jra55v13_ryf9091', 'dzt' , session, frequency='1 monthly'), 'xt_ocean')

PermissionError: [Errno 13] Permission denied: '/g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091/output1111/ocean/ocean.nc'

```

Seems like the read permission has been disabled for this directory -  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/access1/original/2X/1/1a35436b1c7e6bf7c83ea8fbd965ea0056bb7219.png)

@AndyHoggANU do you have any idea ?

---

<div class="post-metadata">

**Author:** ![adele-morrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/adele-morrison/32/90_2.png) [@adele-morrison](https://forum.access-hive.org.au/u/adele-morrison)\
**Post date:** [25 May 2025 19:24 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/2 "2025-05-25T19:24:19Z")

</div>

Yes the RYF data has now moved to cj50, so it’s publicly available. I think we should update the cookbook database, because some of the Recipes still don’t work with Intake.

Anyone know how we go about updating the cookbook database?

---

<div class="post-metadata">

**Author:** ![adele-morrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/adele-morrison/32/90_2.png) [@adele-morrison](https://forum.access-hive.org.au/u/adele-morrison)\
**Post date:** [26 May 2025 03:39 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/3 "2025-05-26T03:39:51Z")

</div>

@aekiss @angus-g do you guys know how we reindex the default cookbook database?

---

<div class="post-metadata">

**Author:** ![aekiss](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/aekiss/32/46_2.png) [@aekiss](https://forum.access-hive.org.au/u/aekiss)\
**Post date:** [26 May 2025 04:30 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/4 "2025-05-26T04:30:18Z")

</div>

This used to be updated automatically but is now triggered manually, using these scripts IIRC: [GitHub - COSIMA/master\_index: Scripts to generate COSIMA master index](https://github.com/COSIMA/master_index)

@micael do I just do `update_db_start.sh`, check logs, then `update_db_finish.sh`?

Does it matter that the old location `/g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091` still exists, but is inaccessible?

See here for context: [ACCESS-OM2-01 `01deg_jra55v13_ryf9091` moved from ik11 to cj50](https://forum.access-hive.org.au/t/access-om2-01-01deg-jra55v13-ryf9091-moved-from-ik11-to-cj50/4542)

---

<div class="post-metadata">

**Author:** ![navidcy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/navidcy/32/101_2.png) [@navidcy](https://forum.access-hive.org.au/u/navidcy)\
**Post date:** [26 May 2025 08:56 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/5 "2025-05-26T08:56:53Z")

</div>

@adele-morrison are you suggesting that the `01deg_jra55v13_ryf9091` is not accessible by the intake catalog or was your comment a generic one?

---

<div class="post-metadata">

**Author:** ![adele-morrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/adele-morrison/32/90_2.png) [@adele-morrison](https://forum.access-hive.org.au/u/adele-morrison)\
**Post date:** [26 May 2025 12:02 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/6 "2025-05-26T12:02:19Z")

</div>

The RYF is accessible by Intake (we updated the catalog already). But it’s no longer accessible from the main cookbook database. I think until all of the COSIMA recipes no longer use Intake, we should still maintain the cookbook database. Some new students are struggling with using intake with some of the recipes that still use the cookbook.

---

<div class="post-metadata">

**Author:** ![AndyHoggANU](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/andyhogganu/32/43_2.png) [@AndyHoggANU](https://forum.access-hive.org.au/u/AndyHoggANU)\
**Post date:** [26 May 2025 22:40 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/7 "2025-05-26T22:40:40Z")

</div>

OK, but if @sb4233 wants to try converting tot he Intake catalogue for this analysis that should work, and might be the quickest route.

---

<div class="post-metadata">

**Author:** ![micael](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/micael/32/93_2.png) [@micael](https://forum.access-hive.org.au/u/micael)\
**Post date:** [26 May 2025 22:53 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/8 "2025-05-26T22:53:41Z")

</div>

> [@aekiss](#):
>
> This used to be updated automatically but is now triggered manually, using these scripts IIRC: [GitHub - COSIMA/master\_index: Scripts to generate COSIMA master index](https://github.com/COSIMA/master_index)
> 
> @micael do I just do `update_db_start.sh`, check logs, then `update_db_finish.sh`?
> 
> Does it matter that the old location `/g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091` still exists, but is inaccessible?

@aekiss Yes, those two commands should work. Just make sure you launch them the same day.

---

<div class="post-metadata">

**Author:** ![helen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/helen/32/2840_2.png) [@helen](https://forum.access-hive.org.au/u/helen)\
**Post date:** [27 May 2025 00:38 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/9 "2025-05-27T00:38:39Z")

</div>

@sb4233 Thanks for your post - I am just marking this as out of scope for ACCESS-NRI triage admin purposes but looks like there is lots of help available so please continue the discussion.

---

<div class="post-metadata">

**Author:** ![aekiss](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/aekiss/32/46_2.png) [@aekiss](https://forum.access-hive.org.au/u/aekiss)\
**Post date:** [27 May 2025 00:39 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/10 "2025-05-27T00:39:36Z")

</div>

OK thanks @micael, I’ve launched it. Do recall roughly how long it will take?  
Also, will it remove `/g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091` from the database now that it’s unreadable?

---

<div class="post-metadata">

**Author:** ![micael](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/micael/32/93_2.png) [@micael](https://forum.access-hive.org.au/u/micael)\
**Post date:** [27 May 2025 01:15 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/11 "2025-05-27T01:15:48Z")

</div>

> [@aekiss](#):
>
> OK thanks @micael, I’ve launched it. Do recall roughly how long it will take?

It depends a lot on the number of new files to index. Anywhere between a couple of hours to more than 10 hours.

> [@aekiss](#):
>
> Also, will it remove `/g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091` from the database now that it’s unreadable?

No. That was one of the issues of the database, as it would require manual pruning.

---

<div class="post-metadata">

**Author:** ![adele-morrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/adele-morrison/32/90_2.png) [@adele-morrison](https://forum.access-hive.org.au/u/adele-morrison)\
**Post date:** [27 May 2025 01:22 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/12 "2025-05-27T01:22:47Z")

</div>

As an aside, we recently had a discussion at ANU that we really don’t like posts being tagged as ‘outofscope’. It could discourage others in the community from replying if ACCESS-NRI is tagging that the post is not important. And it could make new users feel terrible for finding the courage to ask questions. We already have enough trouble trying to convince students to post for help. Is it possible that for COSIMA at least we could change this ‘outofscope’ tag to something like ‘community-question’ instead?

---

<div class="post-metadata">

**Author:** ![AndyHoggANU](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/andyhogganu/32/43_2.png) [@AndyHoggANU](https://forum.access-hive.org.au/u/AndyHoggANU)\
**Post date:** [27 May 2025 01:35 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/13 "2025-05-27T01:35:43Z")

</div>

> [@adele-morrison](#):
>
> change this ‘outofscope’ tag to something like ‘community-question’ instead?

Haha, we are just discussing that exact question at our staff retreat! We were suggesting `#community-help`?

---

<div class="post-metadata">

**Author:** ![sb4233](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@sb4233](https://forum.access-hive.org.au/u/sb4233)\
**Post date:** [27 May 2025 02:03 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/14 "2025-05-27T02:03:07Z")

</div>

Thanks, and yes I have made a custom intake data store for the `cj50` files following this : [Building Intake-ESM datastores of ACCESS model output — COSIMA Cookbook documentation](https://cosima-recipes.readthedocs.io/en/latest/Tutorials/Make_Your_Own_Intake_Datastore.html)

So, this seems to work for me now : )

---

<div class="post-metadata">

**Author:** ![aekiss](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/aekiss/32/46_2.png) [@aekiss](https://forum.access-hive.org.au/u/aekiss)\
**Post date:** [27 May 2025 05:20 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/15 "2025-05-27T05:20:31Z")

</div>

Great that Intake is working for you @sb4233, that’s a better option than the old database.

I’ve updated the cookbook master database to `/g/data/ik11/databases/daily/cosima_master_2025-05-27.db` in case this trips anyone else up - can you check whether your old method works now? (I have my doubts, as the DB may need `/g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091` to be manually pruned to avoid interfering with the new location.)

---

<div class="post-metadata">

**Author:** ![angus-g](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/angus-g/32/89_2.png) [@angus-g](https://forum.access-hive.org.au/u/angus-g)\
**Post date:** [27 May 2025 05:33 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/16 "2025-05-27T05:33:03Z")

</div>

If you wanted to do this, you could use the sqlite repl on the database:

```sql
select * from experiments where id = 136;
> "136|01deg_jra55v13_ryf9091|/g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091|
Andy Hogg|andy.hogg@anu.edu.au|2020-06-11|
https://github.com/COSIMA/01deg_jra55_ryf/tree/01deg_jra55v13_ryf9091|
0.1 degree ACCESS-OM2 global model configuration with JRA55-do v1.3 RYF9091 
repeat year forcing (May 1990 to Apr 1991)|Additional daily outputs saved from
1 Jan 1950 to 31 Dec 1969 and 1 Jan 2086 to 31 Dec 2100"

select count(*) from ncfiles where experiment_id = 136;
> 0

delete from experiments where id = 136;
delete from keyword_assoc where expt_id = 136;

```

---

<div class="post-metadata">

**Author:** ![aekiss](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/aekiss/32/46_2.png) [@aekiss](https://forum.access-hive.org.au/u/aekiss)\
**Post date:** [27 May 2025 06:13 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/17 "2025-05-27T06:13:23Z")

</div>

Thanks @angus-g, how do I invoke the sqlite repl? is there a module I need to load?

---

<div class="post-metadata">

**Author:** ![angus-g](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/angus-g/32/89_2.png) [@angus-g](https://forum.access-hive.org.au/u/angus-g)\
**Post date:** [27 May 2025 06:15 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/18 "2025-05-27T06:15:35Z")

</div>

Just `sqlite3 /g/data/ik11/databases/daily/cosima_master_2025-05-27.db` should do the trick, no modules needed!

---

<div class="post-metadata">

**Author:** ![sb4233](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@sb4233](https://forum.access-hive.org.au/u/sb4233)\
**Post date:** [27 May 2025 06:41 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/19 "2025-05-27T06:41:37Z")

</div>

Btw, the cookbook is working now!

---

<div class="post-metadata">

**Author:** ![aekiss](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/aekiss/32/46_2.png) [@aekiss](https://forum.access-hive.org.au/u/aekiss)\
**Post date:** [27 May 2025 06:59 UTC](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541/20 "2025-05-27T06:59:56Z")

</div>

ok thanks @angus-g, done

@sb4233 thanks for checking - can you do it again, now that I’ve edited the database?

[Next page](https://forum.access-hive.org.au/t/cant-access-files-in-01deg-jra55v13-ryf9091-simulation/4541.md?page=2)
