# Um2netcdf4 not working after maintenance (change to /g/data3 alias)

**URL:** <https://forum.access-hive.org.au/t/um2netcdf4-not-working-after-maintenance-change-to-g-data3-alias/1060>\
**Category:** Technical\
**Tags:** python, help\
**Created:** [3 August 2023 05:46 UTC](https://forum.access-hive.org.au/t/um2netcdf4-not-working-after-maintenance-change-to-g-data3-alias/1060 "2023-08-03T05:46:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ars599](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/ars599/32/821_2.png) [@ars599](https://forum.access-hive.org.au/u/ars599)\
**Post date:** [3 August 2023 05:46 UTC](https://forum.access-hive.org.au/t/um2netcdf4-not-working-after-maintenance-change-to-g-data3-alias/1060/1 "2023-08-03T05:46:28Z")

</div>

The issue is here which we have no authority to modify. Need some help!!

under this file:  
/g/data/access/projects/access/modules/pythonlib/um2netcdf4/2.1

#%Module

set help “Conversion of UM fieldsfiles to netCDF”  
set prefix ~access/apps/pythonlib/um2netcdf4/2.1  
set install-contact “martin.dix@csiro.au”  
set install-date “2023-01-16”  
set url “[https://bitbucket.csiro.au/users/dix043/src](https://bitbucket.csiro.au/users/dix043/src)”

conflict pythonlib/um2netcdf4

if ![is-loaded conda/analysis3] {  
module use **/g/data3/hh5/public/modules**  
module load conda/analysis3  
}

prepend-path PYTHONPATH $prefix  
prepend-path PATH $prefix  
setenv UMDIR /g/data/access/projects/access/umdir

We might have quite a lot this kind of files. We need help to modify them.

---

<div class="post-metadata">

**Author:** ![dale.roberts](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@dale.roberts](https://forum.access-hive.org.au/u/dale.roberts)\
**Post date:** [3 August 2023 05:59 UTC](https://forum.access-hive.org.au/t/um2netcdf4-not-working-after-maintenance-change-to-g-data3-alias/1060/2 "2023-08-03T05:59:48Z")

</div>

Thanks for the heads up. There are 4 affected files in `~access/modules.`:

```auto
[dr4292@gadi-login-09 modules]$ grep -r data3 .
./pythonlib/um2netcdf4/2.1: module use /g/data3/hh5/public/modules
./pythonlib/um2netcdf4/2.0: module use /g/data3/hh5/public/modules
./pythonlib/umfile_utils/cmip6: module use /g/data3/hh5/public/modules
./pythonlib/umfile_utils/access_cm2: module use /g/data3/hh5/public/modules

```

The permissions are set such that only @MartinDix can fix this. Fortunately it seems that due to ‘popular demand’ NCI has re-instated the `/g/data3` symlink as of 11:15am today. Still this should be fixed, we can’t assume the symlink will be around forever.

---

<div class="post-metadata">

**Author:** ![atteggiani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/atteggiani/32/212_2.png) [@atteggiani](https://forum.access-hive.org.au/u/atteggiani)\
**Post date:** [3 August 2023 07:24 UTC](https://forum.access-hive.org.au/t/um2netcdf4-not-working-after-maintenance-change-to-g-data3-alias/1060/3 "2023-08-03T07:24:41Z")

</div>

Hi Arnold,

the `um2necdf` script will be available in the future within other set of tools to manipulate ACCESS ancillary files.  
For now, since it’s still in a pre-release form, you can do the following:

1. Load the `conda/analysis3-unstable` module:

```plaintext
module unload conda
module load conda/analysis3-unstable

```

1. clone [this](https://github.com/ACCESS-NRI/amami) repo:

```plaintext
git clone https://github.com/ACCESS-NRI/amami.git

```

1. Use the **um2nc.py** tool under `amami/amami/um2nc.py`  
For complete usage instructions, run `um2nc.py -h`

**Note:** The tool is still in a pre-release state (that’s why it’s not fully on Gadi yet), but should work fine with most of the files.

Hope that helps  
Davide
