Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: SSUSI SDR-Disk overlapping files #233

Open
aburrell opened this issue Jul 12, 2024 · 1 comment
Open

BUG: SSUSI SDR-Disk overlapping files #233

aburrell opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aburrell
Copy link
Member

Description

DMSP SSUSI SDR-Disk data for F18 has a file issue that results in the duplicate time error.

To Reproduce this bug:

Steps to reproduce the behavior:

import datetime as dt
import pysat

stime = dt.datetime(2014, 1, 29)
ssusi = pysat.Instrument('dmsp', 'ssusi', tag='sdr-disk', inst_id='f18')
ssusi.download(start=stime)
ssusi.load(date=stime)

Test configuration

  • OS: Mac OS X Big Sur, some Windows system
  • Version: Python 3.9 and 3.12
  • Other details about your setup that could be relevant: working of the "ssusi_bug" branch of pysatNASA, now in "develop"

Additional context

Going through the DMSP SSUSI data I found that this issue is caused by having files were there are duplicated times. This isn’t great, obviously, and is something that CDAWeb needs to resolve.

The culprits:

dmspf18_ssusi_sdr-disk_2014029T230313-2014030T004504-REV22086_vA8.2.0r000.nc2019-02-11 14:0621M
dmspf18_ssusi_sdr-disk_2014029T231055-2014029T235808-REV22086_vA8.2.0r000.nc2019-02-11 13:5411M

In directory: https://cdaweb.gsfc.nasa.gov/data/dmsp/dmspf18/ssusi/data/sdr-disk/2014/029/

Pysat is only finding ONE unique time in the two files: 2014-01-29 23:40:27.824444

However, the top file’s global info states starting stopping times of:

:STARTING_TIME = "2014029230313" ;
:STOPPING_TIME = "2014030004504" ;

And the bottom file’s global info says:

:STARTING_TIME = "2014029231055" ;
:STOPPING_TIME = "2014029235808" ;

So, nominally, the second file shouldn’t exist. Does CDAWeb has a place that this can be reported?

@aburrell aburrell added the bug Something isn't working label Jul 12, 2024
@aburrell aburrell changed the title BUG: BUG: SSUSI SDR-Disk overlapping files Jul 12, 2024
@aburrell
Copy link
Member Author

Similar to #221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant