def _compute_fixed(self):
try:<EOL><INDENT>lon, lat = np.meshgrid(self.lon, self.lat)<EOL><DEDENT>except:<EOL><INDENT>lat = self.lat<EOL><DEDENT>phi = np.deg2rad(lat)<EOL>try:<EOL><INDENT>albedo = self.a0 + self.a2 * P2(np.sin(phi))<EOL><DEDENT>except:<EOL><INDENT>albedo = np.zeros_like(phi)<EOL><DEDENT>dom = next(iter(self.domains.values()))<EOL>self.albedo = Field(albedo, domain=dom)<EOL>
Recompute any fixed quantities after a change in parameters