-
Notifications
You must be signed in to change notification settings - Fork 7
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
Importer skipping timesteps #69
Comments
I was also able to reproduce this issue. There should be 745 records, but vortex only imported 741: 08:58:45.499 -----DSS---zclose Handle 3; Process: 38776; File: C:\Temp\vortex\InputData\test.dss
08:58:45.501 Number records: 741
08:58:45.501 File size: 183484 64-bit words
08:58:45.502 File size: 1433 Kb; 1 Mb
08:58:45.502 Dead space: 0
08:58:45.503 Hash range: 8192
08:58:45.504 Number hash used: 533
08:58:45.505 Max paths for hash: 3
08:58:45.505 Corresponding hash: 40
08:58:45.506 Number non unique hash: 0
08:58:45.507 Number bins used: 533
08:58:45.507 Number overflow bins: 0
08:58:45.507 Number physical reads: 962
08:58:45.508 Number physical writes: 5060
08:58:45.508 Number denied locks: 0 And the partD/partE in the timestamp before one of the missing grids is also incorrect. |
Mmmm so I think I'll add |
Yes, duplicated the |
@openSourcerer9000 are you generating these netcdf files your self? |
Once idea I had to help define the NETCDF structure required to vortex to properly import to DSS is to develop an additional utility that will convert a dss file to NETCDF format. This would provide a straight forward approach to users developing their own NETCDF files. Might be outside the scope of Vortex, but I personally find the CF conventions hard to follow since many datasets only partially conform to the CF convention. Having the ability to convert NETCDF-to-DSS and from dss-to-NETCDF will provide users more options to modify the gridded data using more robust NETCDF packages (e.g, xarray). |
I designed Vortex with this in mind. You'll notice that the option to specify pathname parts only become available after a file is selected. So, if you were to select something like a *.nc file for output, you may see options related to that file type. To add NetCDF write capability to Vortex a |
@openSourcerer9000 I can't reproduce the timestep skipping issue. Do you have a dataset that reliably reproduces? |
So I'm having this issue where Vortex Importer is skipping timesteps. When using multiple STAGE IV radar GRIB files, it happens randomly, where sometimes it will skip a timestep or two, and sometimes it will write them all correctly, depending on its mood.
The workaround for that problem is to simply rerun it multiple times until it fills out the DSS. However, I'm also getting an issue where it will consistently skip over certain timesteps, when writing from a NetCDF gridset. This happens both when running from Jython and from the GUI.
EDIT: the consistent skips were fixed by duplicating the
time
coord var to an aux coor var calledvalid_time
, as described belowThe NetCDF's are CF-compliant, and have no missing timesteps. I've opened them up and plotted the timesteps that are not going through Vortex properly, and everything looks fine.
To reproduce
Attached below is one NetCDF and one clipping shapefile.
InputData.zip
Run the importer with the following options. I'm using the latest release but the bug was also happening with an older version before upgrading.
The following timesteps are the ones consistently dropping out. The same happens using other clip shapefiles as well. I'm also getting this surprising behavior where the single hourly timestamp is converted to a start time (D part) 0.5 hr earlier and an end time (E part) 0.5 hr later, so I'm having to timeshift the resulting DSS. I suppose that was the designed behavior, it just seems odd to me.
The text was updated successfully, but these errors were encountered: