Skip to content

Commit

Permalink
Merge pull request #197 from adokter/nexrad_crash
Browse files Browse the repository at this point in the history
fix #196
  • Loading branch information
adokter authored Dec 5, 2022
2 parents 8e6e850 + e8b527f commit 2810f33
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# vol2bird 0.5.XXXX
* fixes a bug occurring with missing scan parameter data (#195)
* fixes a bug occurring with missing scan parameter data (#195,#196)

# vol2bird 0.5.0
All issues included in this release can be found [here](https://github.com/adokter/vol2bird/milestone/1?closed=1)
Expand Down
4 changes: 2 additions & 2 deletions lib/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@
// Name of the program, to be stored as task attribute in ODIM
#define PROGRAM "vol2bird"
// Version of the program, to be stored as task_version attribute in ODIM
#define VERSION "0.5.0.9195"
#define VERSION "0.5.0.9196"
// Date of latest version of the program
#define VERSIONDATE "26-Oct-2022"
#define VERSIONDATE "05-Dec-2022"


//-------------------------------------------------------//
Expand Down
7 changes: 6 additions & 1 deletion lib/libvol2bird.c
Original file line number Diff line number Diff line change
Expand Up @@ -4300,7 +4300,12 @@ PolarVolume_t* vol2birdGetVolume(char* filenames[], int nInputFiles, float range

volume = vol2birdGetODIMVolume(filenames, nInputFiles);

PolarVolume_sortByElevations(volume,1);
if(volume == NULL){
goto done;
}
else{
PolarVolume_sortByElevations(volume,1);
}

done:
return volume;
Expand Down

0 comments on commit 2810f33

Please sign in to comment.