podaac / gibs-imagestat

Calculate statistics on GIBS hosted imagery
Apache License 2.0
1 stars 0 forks source link

Example API Call for Range returns "Invalid time range type object 'datetime.datetime' has no attribute 'datetime'" #40

Closed Tomcariello closed 1 year ago

Tomcariello commented 1 year ago

I am trying to execute a date range request but the request returns "Invalid time range type object 'datetime.datetime' has no attribute 'datetime'".

The 'range' request (copied from the docs, updating localhost to the current endpoint): http://localhost:9000/get_stats?_type=range&timestamp=2016-06-09T00:00:00Z&end_timestamp=2016-06-19T00:00:00Z&steps=5&bins=10&format=json&layer=GHRSST_L4_MUR_Sea_Surface_Temperature&colormap=GHRSST_Sea_Surface_Temperature.xml&bbox=-90,-180,90,180

I am getting the same error response when I try the time series example request.

Please let me know if I am doing something incorrectly. Thank you!

frankinspace commented 1 year ago

Duplicate of #35

frankinspace commented 1 year ago

@Tomcariello This has been fixed and deployed.