Skip to content

Error loading historical catalog #223

@allenos-usgs

Description

@allenos-usgs

I've been having problems loading in a csv catalog that goes back to the year 1700.

I've been loading it in like so:
image

Then I get the following traceback:
image

I think I've traced the issue to this function in time_utils.py, which seems to have a baseline of 1970:
image

Because if I trim my test catalog so that it starts in 1970 instead of 1700, then it's able to be loaded in no problem. And if I go back to using the entire catalog, but in the function I change 1970 to 1700, then I get the following:
image

It loads in the entire catalog, but now it seems to think it starts in 1970 and ends ~270 years in the future. Any help with getting it to read in the entire catalog with the correct years would be much appreciated!

Thanks,
Andrea

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions