mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-24 16:04:40 +08:00
Reverted some of the spelling corrections. Some misspellings were intentional
This commit is contained in:
parent
9ceb6657ff
commit
a359cb6a53
@ -1354,7 +1354,7 @@ initial size for the file.
|
||||
...
|
||||
int status;
|
||||
int ncid;
|
||||
int initialsz = 2048;
|
||||
int intialsz = 2048;
|
||||
int *bufrsize;
|
||||
...
|
||||
*bufrsize = 1024;
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#define MAXSERVERURL 4096
|
||||
|
||||
extern int NCSUBSTRATE_initialize(void);
|
||||
extern int NCSUBSTRATE_intialize(void);
|
||||
|
||||
/* Define vectors of zeros and ones for use with various nc_get_varX function*/
|
||||
size_t nc_sizevector0[NC_MAX_VAR_DIMS];
|
||||
|
@ -459,7 +459,7 @@ and initial size for the file.
|
||||
...
|
||||
int status = NC_NOERR;
|
||||
int ncid;
|
||||
int initialsz = 2048;
|
||||
int intialsz = 2048;
|
||||
int *bufrsize;
|
||||
...
|
||||
*bufrsize = 1024;
|
||||
|
@ -105,7 +105,7 @@ main(int argc, char **argv)
|
||||
This has 3 dims, 4 vars. The dimensions are such that this will
|
||||
(just barely) not fit in a classic format file. The first three
|
||||
vars are cromwell, 536870911 bytes, washington, 2*536870911
|
||||
bytes, and napoleon, 536870911 bytes. That's a grand total of
|
||||
bytes, and napolean, 536870911 bytes. That's a grand total of
|
||||
2147483644 bytes. Recall our magic limit for the combined size
|
||||
of all fixed vars: 2 GiB - 4 bytes, or 2147483644. So you would
|
||||
think these would exactly fit, unless you realized that
|
||||
@ -137,7 +137,7 @@ main(int argc, char **argv)
|
||||
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 1, &dimids_gen[1],
|
||||
&washingtonid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 1, &dimids_gen[0],
|
||||
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 1, &dimids_gen[0],
|
||||
&napoleanid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 1, &dimids_gen[2],
|
||||
@ -206,7 +206,7 @@ main(int argc, char **argv)
|
||||
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 1, &dimids_gen[1],
|
||||
&washingtonid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 1, &dimids_gen[0],
|
||||
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 1, &dimids_gen[0],
|
||||
&napoleanid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 1, &dimids_gen[2],
|
||||
@ -230,7 +230,7 @@ main(int argc, char **argv)
|
||||
if ((res = nc_def_var(ncid, "Cromwell", NC_SHORT, 1, dimids_gen,
|
||||
&cromwellid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Napoleon", NC_SHORT, 1, dimids_gen,
|
||||
if ((res = nc_def_var(ncid, "Napolean", NC_SHORT, 1, dimids_gen,
|
||||
&napoleanid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 1, dimids_gen,
|
||||
@ -289,7 +289,7 @@ main(int argc, char **argv)
|
||||
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen,
|
||||
&washingtonid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 2, dimids_gen,
|
||||
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 2, dimids_gen,
|
||||
&napoleanid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 1, &dimids_gen[2],
|
||||
@ -325,7 +325,7 @@ main(int argc, char **argv)
|
||||
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen,
|
||||
&washingtonid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 2, dimids_gen,
|
||||
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 2, dimids_gen,
|
||||
&napoleanid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 1, &dimids_gen[2],
|
||||
@ -422,7 +422,7 @@ main(int argc, char **argv)
|
||||
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen1,
|
||||
&washingtonid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 2, dimids_gen1,
|
||||
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 2, dimids_gen1,
|
||||
&napoleanid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Collins", NC_DOUBLE, 2, dimids_gen1,
|
||||
@ -467,7 +467,7 @@ main(int argc, char **argv)
|
||||
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen1,
|
||||
&washingtonid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 2, dimids_gen1,
|
||||
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 2, dimids_gen1,
|
||||
&napoleanid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Cromwell", NC_DOUBLE, 2, dimids_gen,
|
||||
@ -504,7 +504,7 @@ main(int argc, char **argv)
|
||||
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen1,
|
||||
&washingtonid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Napoleon", NC_BYTE, 2, dimids_gen1,
|
||||
if ((res = nc_def_var(ncid, "Napolean", NC_BYTE, 2, dimids_gen1,
|
||||
&napoleanid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Cromwell", NC_DOUBLE, 2, dimids_gen,
|
||||
@ -538,7 +538,7 @@ main(int argc, char **argv)
|
||||
if ((res = nc_def_var(ncid, "Washington", NC_SHORT, 2, dimids_gen1,
|
||||
&washingtonid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Napoleon", NC_SHORT, 2, dimids_gen1,
|
||||
if ((res = nc_def_var(ncid, "Napolean", NC_SHORT, 2, dimids_gen1,
|
||||
&napoleanid)))
|
||||
ERR;
|
||||
if ((res = nc_def_var(ncid, "Cromwell", NC_SHORT, 2, dimids_gen,
|
||||
|
@ -22,7 +22,7 @@
|
||||
#define DIM2_LEN 15
|
||||
#define ATT_INT_NAME "Old_Bailey_Room_Numbers"
|
||||
#define ATT_DOUBLE_NAME "Equity_Court_Canteen_Charges"
|
||||
#define ATT_SHORT_NAME "Ecclesiastical_Court_Appearances"
|
||||
#define ATT_SHORT_NAME "Ecclesiastical_Court_Appearences"
|
||||
#define ATT_TEXT_NAME "Speech_to_Jury"
|
||||
#define ATT_TEXT_NAME2 "Speech_to_She_Who_Must_be_Obeyed"
|
||||
#define ATT_UCHAR_NAME "Number_of_current_briefs"
|
||||
|
@ -22,7 +22,7 @@
|
||||
#define DIM2_LEN 15
|
||||
#define ATT_INT_NAME "Old_Bailey_Room_Numbers"
|
||||
#define ATT_DOUBLE_NAME "Equity_Court_Canteen_Charges"
|
||||
#define ATT_SHORT_NAME "Ecclesiastical_Court_Appearances"
|
||||
#define ATT_SHORT_NAME "Ecclesiastical_Court_Appearences"
|
||||
#define ATT_TEXT_NAME "Speech_to_Jury"
|
||||
#define ATT_TEXT_NAME2 "Speech_to_She_Who_Must_be_Obeyed"
|
||||
#define ATT_UCHAR_NAME "Number_of_current_briefs"
|
||||
|
@ -244,7 +244,7 @@ variables:
|
||||
float tpt(time) ;
|
||||
tpt:long_name = "Temperature" ;
|
||||
tpt:units = "kelvin" ;
|
||||
tpt:hieght = "Leave misspelled for NCO User\'s guide example" ;
|
||||
tpt:hieght = "Leave mispelled for NCO User\'s guide example" ;
|
||||
double rec_var_dbl_mss_val_dbl_upk(time) ;
|
||||
rec_var_dbl_mss_val_dbl_upk:long_name = "record variable, double, with double missing values" ;
|
||||
rec_var_dbl_mss_val_dbl_upk:purpose = "This variable is used to generate the packed variable rec_var_dbl_mss_val_dbl_pck, so its missing_value should not be too far out of range, i.e., it should be representable by a short. However, the missing_value should itself be the same type as the unpacked variable, NC_DOUBLE in this case." ;
|
||||
|
@ -255,7 +255,7 @@ variables:
|
||||
float tpt(time) ;
|
||||
tpt:long_name = "Temperature" ;
|
||||
tpt:units = "kelvin" ;
|
||||
tpt:hieght = "Leave hieght misspelled for NCO User\'s guide example" ;
|
||||
tpt:hieght = "Leave hieght mispelled for NCO User\'s guide example" ;
|
||||
double rec_var_dbl_mss_val_dbl_upk(time) ;
|
||||
rec_var_dbl_mss_val_dbl_upk:long_name = "record variable, double, with double missing values" ;
|
||||
rec_var_dbl_mss_val_dbl_upk:purpose = "This variable is used to generate the packed variable rec_var_dbl_mss_val_dbl_pck, so its missing_value should not be too far out of range, i.e., it should be representable by a short. However, the missing_value should itself be the same type as the unpacked variable, NC_DOUBLE in this case." ;
|
||||
|
@ -245,7 +245,7 @@ variables:
|
||||
float tpt(time) ;
|
||||
tpt:long_name = "Temperature" ;
|
||||
tpt:units = "kelvin" ;
|
||||
tpt:hieght = "Leave misspelled for NCO User\'s guide example" ;
|
||||
tpt:hieght = "Leave mispelled for NCO User\'s guide example" ;
|
||||
double rec_var_dbl_mss_val_dbl_upk(time) ;
|
||||
rec_var_dbl_mss_val_dbl_upk:long_name = "record variable, double, with double missing values" ;
|
||||
rec_var_dbl_mss_val_dbl_upk:purpose = "This variable is used to generate the packed variable rec_var_dbl_mss_val_dbl_pck, so its missing_value should not be too far out of range, i.e., it should be representable by a short. However, the missing_value should itself be the same type as the unpacked variable, NC_DOUBLE in this case." ;
|
||||
|
@ -244,7 +244,7 @@ variables:
|
||||
float tpt(time) ;
|
||||
tpt:long_name = "Temperature" ;
|
||||
tpt:units = "kelvin" ;
|
||||
tpt:hieght = "Leave misspelled for NCO User\'s guide example" ;
|
||||
tpt:hieght = "Leave mispelled for NCO User\'s guide example" ;
|
||||
double rec_var_dbl_mss_val_dbl_upk(time) ;
|
||||
rec_var_dbl_mss_val_dbl_upk:long_name = "record variable, double, with double missing values" ;
|
||||
rec_var_dbl_mss_val_dbl_upk:purpose = "This variable is used to generate the packed variable rec_var_dbl_mss_val_dbl_pck, so its missing_value should not be too far out of range, i.e., it should be representable by a short. However, the missing_value should itself be the same type as the unpacked variable, NC_DOUBLE in this case." ;
|
||||
|
@ -301,7 +301,7 @@ Attributes {
|
||||
tpt {
|
||||
String long_name "Temperature";
|
||||
String units "kelvin";
|
||||
String hieght "Leave misspelled for NCO User's guide example";
|
||||
String hieght "Leave mispelled for NCO User's guide example";
|
||||
}
|
||||
rec_var_dbl_mss_val_dbl_upk {
|
||||
String long_name "record variable, double, with double missing values";
|
||||
|
@ -312,7 +312,7 @@ Attributes {
|
||||
tpt {
|
||||
String long_name "Temperature";
|
||||
String units "kelvin";
|
||||
String hieght "Leave hieght misspelled for NCO User's guide example";
|
||||
String hieght "Leave hieght mispelled for NCO User's guide example";
|
||||
}
|
||||
rec_var_dbl_mss_val_dbl_upk {
|
||||
String long_name "record variable, double, with double missing values";
|
||||
|
@ -301,7 +301,7 @@ Attributes {
|
||||
tpt {
|
||||
String long_name "Temperature";
|
||||
String units "kelvin";
|
||||
String hieght "Leave misspelled for NCO User's guide example";
|
||||
String hieght "Leave mispelled for NCO User's guide example";
|
||||
}
|
||||
rec_var_dbl_mss_val_dbl_upk {
|
||||
String long_name "record variable, double, with double missing values";
|
||||
|
@ -301,7 +301,7 @@ Attributes {
|
||||
tpt {
|
||||
String long_name "Temperature";
|
||||
String units "kelvin";
|
||||
String hieght "Leave misspelled for NCO User's guide example";
|
||||
String hieght "Leave mispelled for NCO User's guide example";
|
||||
}
|
||||
rec_var_dbl_mss_val_dbl_upk {
|
||||
String long_name "record variable, double, with double missing values";
|
||||
|
@ -647,13 +647,13 @@ variables:
|
||||
FLUTC:_ChunkSizes = 1, 96, 144 ;
|
||||
double FREQSH(time, lat, lon) ;
|
||||
FREQSH:units = "fraction" ;
|
||||
FREQSH:long_name = "Fractional occurrence of shallow convection" ;
|
||||
FREQSH:long_name = "Fractional occurance of shallow convection" ;
|
||||
FREQSH:cell_methods = "time: mean" ;
|
||||
FREQSH:_Storage = "chunked" ;
|
||||
FREQSH:_ChunkSizes = 1, 96, 144 ;
|
||||
double FREQZM(time, lat, lon) ;
|
||||
FREQZM:units = "fraction" ;
|
||||
FREQZM:long_name = "Fractional occurrence of ZM convection" ;
|
||||
FREQZM:long_name = "Fractional occurance of ZM convection" ;
|
||||
FREQZM:cell_methods = "time: mean" ;
|
||||
FREQZM:_Storage = "chunked" ;
|
||||
FREQZM:_ChunkSizes = 1, 96, 144 ;
|
||||
@ -1268,7 +1268,7 @@ variables:
|
||||
SO2:_ChunkSizes = 1, 30, 96, 144 ;
|
||||
double SO2_CLXF(time, lat, lon) ;
|
||||
SO2_CLXF:units = "molec/cm2/s" ;
|
||||
SO2_CLXF:long_name = "vertically integrated external forcing for SO2" ;
|
||||
SO2_CLXF:long_name = "vertically intergrated external forcing for SO2" ;
|
||||
SO2_CLXF:cell_methods = "time: mean" ;
|
||||
SO2_CLXF:_Storage = "chunked" ;
|
||||
SO2_CLXF:_ChunkSizes = 1, 96, 144 ;
|
||||
@ -1442,7 +1442,7 @@ variables:
|
||||
TROP_P:_ChunkSizes = 1, 96, 144 ;
|
||||
double TROP_PD(time, lev, lat, lon) ;
|
||||
TROP_PD:units = "probability" ;
|
||||
TROP_PD:long_name = "Tropopause Probability" ;
|
||||
TROP_PD:long_name = "Tropopause Probabilty" ;
|
||||
TROP_PD:cell_methods = "time: mean" ;
|
||||
TROP_PD:_Storage = "chunked" ;
|
||||
TROP_PD:_ChunkSizes = 1, 30, 96, 144 ;
|
||||
@ -1638,7 +1638,7 @@ variables:
|
||||
bc_a1TBF:_ChunkSizes = 1, 96, 144 ;
|
||||
double bc_a1_CLXF(time, lat, lon) ;
|
||||
bc_a1_CLXF:units = "molec/cm2/s" ;
|
||||
bc_a1_CLXF:long_name = "vertically integrated external forcing for bc_a1" ;
|
||||
bc_a1_CLXF:long_name = "vertically intergrated external forcing for bc_a1" ;
|
||||
bc_a1_CLXF:cell_methods = "time: mean" ;
|
||||
bc_a1_CLXF:_Storage = "chunked" ;
|
||||
bc_a1_CLXF:_ChunkSizes = 1, 96, 144 ;
|
||||
@ -2458,7 +2458,7 @@ variables:
|
||||
num_a1TBF:_ChunkSizes = 1, 96, 144 ;
|
||||
double num_a1_CLXF(time, lat, lon) ;
|
||||
num_a1_CLXF:units = "molec/cm2/s" ;
|
||||
num_a1_CLXF:long_name = "vertically integrated external forcing for num_a1" ;
|
||||
num_a1_CLXF:long_name = "vertically intergrated external forcing for num_a1" ;
|
||||
num_a1_CLXF:cell_methods = "time: mean" ;
|
||||
num_a1_CLXF:_Storage = "chunked" ;
|
||||
num_a1_CLXF:_ChunkSizes = 1, 96, 144 ;
|
||||
@ -2560,7 +2560,7 @@ variables:
|
||||
num_a2TBF:_ChunkSizes = 1, 96, 144 ;
|
||||
double num_a2_CLXF(time, lat, lon) ;
|
||||
num_a2_CLXF:units = "molec/cm2/s" ;
|
||||
num_a2_CLXF:long_name = "vertically integrated external forcing for num_a2" ;
|
||||
num_a2_CLXF:long_name = "vertically intergrated external forcing for num_a2" ;
|
||||
num_a2_CLXF:cell_methods = "time: mean" ;
|
||||
num_a2_CLXF:_Storage = "chunked" ;
|
||||
num_a2_CLXF:_ChunkSizes = 1, 96, 144 ;
|
||||
@ -2968,7 +2968,7 @@ variables:
|
||||
pom_a1TBF:_ChunkSizes = 1, 96, 144 ;
|
||||
double pom_a1_CLXF(time, lat, lon) ;
|
||||
pom_a1_CLXF:units = "molec/cm2/s" ;
|
||||
pom_a1_CLXF:long_name = "vertically integrated external forcing for pom_a1" ;
|
||||
pom_a1_CLXF:long_name = "vertically intergrated external forcing for pom_a1" ;
|
||||
pom_a1_CLXF:cell_methods = "time: mean" ;
|
||||
pom_a1_CLXF:_Storage = "chunked" ;
|
||||
pom_a1_CLXF:_ChunkSizes = 1, 96, 144 ;
|
||||
@ -3088,7 +3088,7 @@ variables:
|
||||
so4_a1TBF:_ChunkSizes = 1, 96, 144 ;
|
||||
double so4_a1_CLXF(time, lat, lon) ;
|
||||
so4_a1_CLXF:units = "molec/cm2/s" ;
|
||||
so4_a1_CLXF:long_name = "vertically integrated external forcing for so4_a1" ;
|
||||
so4_a1_CLXF:long_name = "vertically intergrated external forcing for so4_a1" ;
|
||||
so4_a1_CLXF:cell_methods = "time: mean" ;
|
||||
so4_a1_CLXF:_Storage = "chunked" ;
|
||||
so4_a1_CLXF:_ChunkSizes = 1, 96, 144 ;
|
||||
@ -3184,7 +3184,7 @@ variables:
|
||||
so4_a2TBF:_ChunkSizes = 1, 96, 144 ;
|
||||
double so4_a2_CLXF(time, lat, lon) ;
|
||||
so4_a2_CLXF:units = "molec/cm2/s" ;
|
||||
so4_a2_CLXF:long_name = "vertically integrated external forcing for so4_a2" ;
|
||||
so4_a2_CLXF:long_name = "vertically intergrated external forcing for so4_a2" ;
|
||||
so4_a2_CLXF:cell_methods = "time: mean" ;
|
||||
so4_a2_CLXF:_Storage = "chunked" ;
|
||||
so4_a2_CLXF:_ChunkSizes = 1, 96, 144 ;
|
||||
|
Loading…
Reference in New Issue
Block a user