To prevent unit string parsing (which can be slow), just do:

```
_unit = u.Unit(getattr(self, 'unit', 1.0) * u.day)
```