cosima-cookbook icon indicating copy to clipboard operation
cosima-cookbook copied to clipboard

Easterlies perturbation data moved

Open aidanheerdegen opened this issue 1 year ago • 3 comments

The easterlies perturbation experiments 01deg_jra55v13_ryf9091_easterlies_down10 and 01deg_jra55v13_ryf9091_easterlies_up10 both seem to have been moved from ik11 to cj50, but the DB still has entries pointing to the ik11 location.

This leads to errors like

FileNotFoundError: [Errno 2] No such file or directory: '/g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091_easterlies_down10/output1047/ocean/ocean_scalar.nc'

aidanheerdegen avatar Oct 12 '23 05:10 aidanheerdegen

This issue has been mentioned on ACCESS Hive Community Forum. There might be relevant details there:

https://forum.access-hive.org.au/t/unable-to-access-access-om2-01-future-perturbation-outputs/1473/11

access-hive-bot avatar Oct 12 '23 05:10 access-hive-bot

Should the database indexing pick up changes like this? And if so, do we know why it isn't?

adele-morrison avatar Oct 13 '23 05:10 adele-morrison

Should the database indexing pick up changes like this? And if so, do we know why it isn't?

Yes and yes.

The reason it doesn't is that it doesn't have any logic to detect this condition. It relies on the directory being present and then it sees the files have been deleted and removes them from the DB.

It is perfectly possible to add the logic required to detect this condition.

In an ideal world there would be a script to move data from one location to another. The script could do the move and make the required changes to the database, so the data doesn't have to be re-indexed.

Of course this would still require people to use it.

aidanheerdegen avatar Oct 15 '23 23:10 aidanheerdegen