Closed wtbarnes closed 11 months ago
We have transitioned to returning time with millisecond precision where that information is available. The issue was in
my $VSOtime = sprintf "%.4d-%.2d-%.2d %.2d:%.2d:%6.3f"
which does not pad the float resulting in a blank space in the time string for seconds < 10. Fixed it and results are now correct.
'time' => {
'start' => '2020-11-09 14:03:00.172'
'end' => '2020-11-09 14:03:00.895',
}
Thanks @AlisdairDavey! My above query is now working.
Describe the bug
XRT data is once again available from the VSO. However, querying this data with
Fido
fails when trying to return the response table. This seems to be due to the way the dates are formatted when they are returned. Looking at the XML body (see below), there are a few dates where there are spaces between the minute and second designation in the returned dates,To Reproduce
throws the exception
Additionally, here's the body of the XML response from the VSO,
Screenshots
When searching through the VSO web form, this returns results:
System Details
============================== sunpy Installation Information
General ####### OS: Mac OS 12.6.6 Arch: 64bit, (arm) sunpy: 5.1.dev259+g52b1428e9 Installation path: /Users/wtbarnes/mambaforge/envs/sunpy-dev/lib/python3.11/site-packages/sunpy-5.1.dev259+g52b1428e9.dist-info
Required Dependencies ##################### astropy: 5.3.4 numpy: 1.26.1 packaging: 23.2 parfive: 2.0.2
Optional Dependencies ##################### asdf: 3.0.0 asdf-astropy: 0.4.0 beautifulsoup4: 4.12.2 cdflib: 1.2.2 dask: 2023.10.0 drms: 0.6.4 glymur: 0.12.8 h5netcdf: 1.2.0 h5py: 3.10.0 lxml: 4.9.3 matplotlib: 3.8.0 mpl-animators: 1.1.0 pandas: 2.1.1 python-dateutil: 2.8.2 reproject: 0.12.0 scikit-image: 0.22.0 scipy: 1.11.3 sqlalchemy: 2.0.22 tqdm: 4.66.1 zeep: 4.2.1
Installation method
No response