How to provide perturbed data as initial and boundary conditions (ERA5)

Hi @cbengel ,

Me and @sdahl are running the ACCESS-rAM3 for pseudo global warming cases. We have perturbed the ERA5 data and want it as input to model. Where can we change this setting?

Thank you,

Kind regards,

Leena

Hi @Leena,

Do you mean that you have altered the GRIB files used to drive ACCESS-rAM3?

If so, you can point the suite to the directory holding your new GRIB files in:

suite conf → Nesting Suite → Driving Model Setup → dm_ec_ic_lbc_dir?

Otherwise, can you please give me more information about how you perturbed the data and where the files are sitting now?

Best regards,

Chermelle

Hi @Leena,

Just a heads up that the GRIB files are packaged very differently from the ERA5 archive. Editing the GRIB format files will likely be more straightforward than any other route.

You can use CDO to convert the GRIB data to netcdf then back again.

To convert from GRIB to netcdf, use:

`cdo -f nc4 copy input.grib output.nc`

MODIFY the netcdf file then,

Convert from netcdf to GRIB using:

`cdo -f grb copy input.nc output.grb`

These tools are included in the standard ACCESS-rAM3 module environment.

Hi @cbengel ,thank you for your suggestions. We have used ERA5 data (NetCDF) from /g/data/rt52/era5. We cropped it to our case study period (72 hours) and then modified some variables (currently, temperature). Now we want to input this data into the model, but at the moment we only have NetCDF files.

So, if I understood your suggestion correctly, the next step would be to convert these NetCDF files to GRIB using:

cdo -f grb copy input.nc output.grb

and then set the path to these GRIB files in dm_ec_ic_lbc_dir. Is that correct?

Thank you for your time!

Kind regards,

Leena

No. The GRIB files have to be in exactly the format they are in – the ones produced by ACCESS-rAM3.

If you look inside dm_ec_ic_lbc_dir from a prior ACCESS-rAM3 ERA5 run you will see the examples there.

I suggest, you do your unperturbed run, then modify THOSE files, package them back to GRIB and run.

The formats are very sensitive.

@Leena, Please ensure that after the un-perturbed run that you set NCI_ERA5GRIB to .FALSE. otherwise your modified GRIB files will be overwritten

Hi @cbengel , thank you for explaining the steps. I will follow the same and let you know accordingly.

Thank you again.