Hi,
After getting errors while concatenating geographical subsets from CARRA-East domain, I noticed the grid has changed for gribfiles in 2023 and after, compared to 2022 and before.
This seems to coincide with the introduction of the timely update every month?
Does anyone have more information on this? Why was it changed? How exactly was it changed? Potential impact on orography and dataset?
Regards,
Jules
Hi Jules,
Thanks for your comment, it seems very strange. I am sure that there was no any intentional change, when the timely update started on our new supercomputer. Would you give a bit of more details, please? What is exactly changed? Is that the metadata or the actual geographic values?
I am in contact with the CARRA team to check this, but it would be nice to have some more information.
Thank you, best regards
Andras
Hi Andras,
It seems to me the actual geographic values of latitude and longitude changed slightly. Not much, but enough to select one more row of data when subsetting (geographically) with the exact same filter which when triggers errors when trying to concatenate the smaller area files together.
I am including screenshots showing the difference between the latitudes/longitude from 2019 and 2023 files. The topleft corner of my lat/lon tables are the same and as I go towards bottom right values start to differ slightly (see screenshots), which makes me think there was a small rotation of the grid from one corner of the CARRA-East domain.
Was that done to align to the grid of Arome-Arctic operational model grid?
I used python with xarray and numpy in spyder IDE. This is the code I used to reach this conclusion:
import xarray as xr
import numpy as np
file_SW_grib = [‘DATA/CARRA/SW_surf/CARRA-East_SW_surfForecast123_2024til09.grib’,
‘DATA/CARRA/SW_surf/CARRA-East_SW_surfForecast123_2019.grib’,
‘DATA/CARRA/SW_surf/CARRA-East_SW_surfForecast123_2023.grib’]
grib_lat = {};grib_lon = {}
for fil in file_SW_grib: # fil = file_SW_grib[0]
yearcur = fil.split(“_”)[-1].split(“.grib”)[0]
ds_tmp = xr.open_dataset(fil, chunks={“time”: 5})
grib_lat[yearcur] = ds_tmp.latitude.compute().load().values
grib_lon[yearcur] = ds_tmp.longitude.compute().load().values
Hi Jules,
Many thanks for the additional details. I am forwarding this to the CARRA team to cross-check and for feedbacks.
I confirm that there was no any intention to change the grid and it could have happened only by accident when the CARRA system was ported to our new supercomputer. It seems there is similar issue for the CARRA-West domain too.
In principle, the migration to a new computer platform should not cause such changes in the grid (the meteorological fields were validated in the new platform with respect to the previous one).
I cannot give you now a definite answer apart of the fact that I am speaking to the CARRA team to check this and provide explanation.
I hope to come back to you early next week with some explanations.
Thanks again, best regards
Andras