Skip to content

Commit

Permalink
Merge branch 'rc_0_0_6' into cover
Browse files Browse the repository at this point in the history
  • Loading branch information
jklenzing authored Aug 1, 2024
2 parents 251831a + 2f29a88 commit c20ab63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
* New window needs to be integer for calculate_imf_steadiness
* Fixed a bug where cdas_download may drop the requested end date file
* Reverted the coveralls integration to the GitHub service for MacOS runs
* Fixed a bug where cdas_list_remote_files errored without remote data
* Documentation
* Added example of how to export data for archival
* Updated documentation refs
Expand Down
4 changes: 3 additions & 1 deletion pysatNASA/instruments/methods/cdaweb.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,9 @@ def cdas_list_remote_files(tag='', inst_id='', start=None, stop=None,

og_files = cdas.get_original_files(dataset=dataset, start=start, end=stop)

if series_out:
if og_files[1] is None:
file_list = pds.Series(dtype=str) if series_out else []
elif series_out:
name_list = [os.path.basename(f['Name']) for f in og_files[1]]
t_stamp = [pds.Timestamp(f['StartTime'][:10]) for f in og_files[1]]
file_list = pds.Series(data=name_list, index=t_stamp)
Expand Down

0 comments on commit c20ab63

Please sign in to comment.