Skip to content

Commit

Permalink
Updated to be in sync with vol2birdRs libvol2bird
Browse files Browse the repository at this point in the history
  • Loading branch information
andershenja committed Mar 29, 2023
1 parent 2810f33 commit d921961
Show file tree
Hide file tree
Showing 6 changed files with 1,091 additions and 820 deletions.
6 changes: 4 additions & 2 deletions lib/libdealias.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
#include <gsl/gsl_multimin.h>
#include <gsl/gsl_vector.h>

void vol2bird_err_printf(const char* fmt, ...);

void printDealias(const float *points, const int nDims, const float nyquist[],
const float vradObs[], float vradDealias[], const int nPoints, const int iProfileType, const int iLayer, const int iPass){
fprintf(stderr,"#iProfile iLayer iPass azim elev nyquist vrad vradd\n");
vol2bird_err_printf("#iProfile iLayer iPass azim elev nyquist vrad vradd\n");
for(int i=0; i<nPoints;i++){
fprintf(stderr,"%i %i %i %3.1f %3.1f %3.1f %3.1f %3.1f\n",
vol2bird_err_printf("%i %i %i %3.1f %3.1f %3.1f %3.1f %3.1f\n",
iProfileType,iLayer,iPass,points[i*nDims],points[i*nDims+1],nyquist[i],vradObs[i],vradDealias[i]);
}
}
Expand Down
Loading

0 comments on commit d921961

Please sign in to comment.