Hi Micael. Sorry I am back pestering you about this but I could use a closer look at the wind field of this experiment before I submit my work.
I am trying to access experiment_eup = ‘01deg_jra55v13_ryf9091_easterlies_up10’ and’01deg_jra55v13_ryf9091_easterlies_up10_zonal’. They are both in your list, so that is odd.
I still get this error when trying to access them:
FileNotFoundError: [Errno 2] No such file or directory: b’/g/data/ik11/outputs/access-om2-01/01deg_jra55v13_ryf9091_easterlies_up10/output1032/ocean/ocean.nc’
These are the paths I have written down:
master_session = cc.database.create_session(‘/g/data/ik11/databases/cosima_master.db’)
control = ‘01deg_jra55v13_ryf9091’
experiment_eup = ‘01deg_jra55v13_ryf9091_easterlies_up10’
easterlies_up_zonal = ‘01deg_jra55v13_ryf9091_easterlies_up10_zonal’
$plot anomalies for last 5 years of simulation:
start_time=‘2150-01-01’
end_time=‘2159-12-31’
temp_con = cc.querying.getvar(control,‘temp’, master_session,frequency=‘1 monthly’,start_time=start_time, end_time=end_time) - 273.15
temp_con = temp_con.sel(yt_ocean=lat_slice).sel(xt_ocean=lon_slice).sel(st_ocean=depth_slice)
temp_con = temp_con.load()
temp_up = cc.querying.getvar(experiment_eup,‘temp’,master_session,frequency=‘1 monthly’,start_time=start_time, end_time=end_time) - 273.15
temp_upY = temp_up.sel(yt_ocean=lat_slice).sel(xt_ocean=lon_slice).sel(st_ocean=depth_slice)
temp_upY = temp_upY.load()
temp_up = cc.querying.getvar(easterlies_up_zonal,‘temp’, master_session,frequency=‘1 monthly’,start_time=start_time, end_time=end_time) - 273.15
temp_upX = temp_up.sel(yt_ocean=lat_slice).sel(xt_ocean=lon_slice).sel(st_ocean=depth_slice)
temp_upX = temp_upX.load()
PS: I can try to build my own database as suggested by Adele, but because I just want to do a quick look that won’t even end up on the paper I was hoping I could just do it through the database.