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

#249 fixes copyright issues #256

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions aux_progs/grb2.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* 10/2024 Public Domain Wesley Ebisuzaki */

#ifndef INT3
#define INT3(a,b,c) ((1-(int) ((unsigned) (a & 0x80) >> 6)) * (int) (((a & 127) << 16)+(b<<8)+c))
#endif
Expand Down
2 changes: 1 addition & 1 deletion aux_progs/smallest_4.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
//
// 10/2024 Public Domain Wesley Ebisuzaki
// 4 files .. same fields but with different packing
// returns smaller of indiv fields
//
Expand Down
1 change: 1 addition & 0 deletions aux_progs/smallest_grib2.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
// 10/2024 Public Domain Wesley Ebisuzaki
//
// 3 files .. same fields but with different packing
// returns smaller of indiv fields
Expand Down
1 change: 1 addition & 0 deletions aux_progs/uint8.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <stdlib.h>
#include <limits.h>
#include "grb2.h"
/* 10/2024 Public Domain Wesley Ebisuzaki */

unsigned long int uint8(unsigned char *p) {

Expand Down
2 changes: 1 addition & 1 deletion c_api/grb2_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <string.h>
#include "c_wgrib2api.h"

/*
/* 10/2024 Public Domain Wesley Ebisuzaki
* handles arguments for wgrib2
*/

Expand Down
1 change: 1 addition & 0 deletions c_api/grb2_mk_inv.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <stdio.h>
#include "c_wgrib2api.h"

/* 10/2024 Public Domain Wesley Ebisuzaki */
/* C transation of fortran grb2_mk_inv(..) */

int grb2_mk_inv(char *grb, char *inv) {
Expand Down
2 changes: 2 additions & 0 deletions c_api/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#include <stdlib.h>
#include "c_wgrib2api.h"

/* 10/2024 Public Domain Wesley Ebisuzaki */

int main() { /* simple program to read grib2 */
long long int ndata;
int ierr;
Expand Down
2 changes: 1 addition & 1 deletion c_api/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <stdlib.h>
#include "c_wgrib2api.h"
#define GRIDSIZE 1679

/* 10/2024 Public Domain Wesley Ebisuzaki */
int main() { /* simple program write grib2 file */
float data[GRIDSIZE];
char *template;
Expand Down
Loading
Loading