metno / pyaerocom

Python tools for climate and air quality model evaluation
https://pyaerocom.readthedocs.io/
GNU General Public License v3.0
26 stars 14 forks source link

RAM Issue: Area weights are always in the GriddedData objects and include all time steps #941

Open lewisblake opened 1 year ago

lewisblake commented 1 year ago

They should be the same for every time step, because a cube must always have the same latitudes and longitudes.

@jgriesfeller noticed this

jgriesfeller commented 11 months ago

It's actually a feature coming from iris. We might just want to make sure that they are calculated lazy and/or are not stored permanently in the GriddedData as they are relatively quick to calculate

jgriesfeller commented 9 months ago

this might solve itself since there is a feature request in iris to make the weight lazy: https://github.com/SciTools/iris/issues/5611