-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FB] [PI-3474] Add tests for the loading and saving of ancillary vari…
…ables (#3799)
- Loading branch information
1 parent
f5a7a83
commit b422cd8
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
lib/iris/tests/results/netcdf/TestNetCDFSave__ancillaries/flag.cdl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
dimensions: | ||
grid_latitude = 9 ; | ||
grid_longitude = 11 ; | ||
time = 7 ; | ||
variables: | ||
int64 air_potential_temperature(time, grid_latitude, grid_longitude) ; | ||
air_potential_temperature:standard_name = "air_potential_temperature" ; | ||
air_potential_temperature:units = "K" ; | ||
air_potential_temperature:grid_mapping = "rotated_latitude_longitude" ; | ||
air_potential_temperature:coordinates = "air_pressure forecast_period" ; | ||
air_potential_temperature:ancillary_variables = "quality_flag" ; | ||
int rotated_latitude_longitude ; | ||
rotated_latitude_longitude:grid_mapping_name = "rotated_latitude_longitude" ; | ||
rotated_latitude_longitude:longitude_of_prime_meridian = 0. ; | ||
rotated_latitude_longitude:earth_radius = 6371229. ; | ||
rotated_latitude_longitude:grid_north_pole_latitude = 37.5 ; | ||
rotated_latitude_longitude:grid_north_pole_longitude = 177.5 ; | ||
rotated_latitude_longitude:north_pole_grid_longitude = 0. ; | ||
double time(time) ; | ||
time:axis = "T" ; | ||
time:units = "hours since 1970-01-01 00:00:00" ; | ||
time:standard_name = "time" ; | ||
time:calendar = "gregorian" ; | ||
double grid_latitude(grid_latitude) ; | ||
grid_latitude:axis = "Y" ; | ||
grid_latitude:units = "degrees" ; | ||
grid_latitude:standard_name = "grid_latitude" ; | ||
double grid_longitude(grid_longitude) ; | ||
grid_longitude:axis = "X" ; | ||
grid_longitude:units = "degrees" ; | ||
grid_longitude:standard_name = "grid_longitude" ; | ||
double air_pressure ; | ||
air_pressure:units = "Pa" ; | ||
air_pressure:standard_name = "air_pressure" ; | ||
double forecast_period(time) ; | ||
forecast_period:units = "hours" ; | ||
forecast_period:standard_name = "forecast_period" ; | ||
byte quality_flag(time, grid_latitude, grid_longitude) ; | ||
quality_flag:long_name = "quality_flag" ; | ||
quality_flag:flag_meanings = "PASS FAIL MISSING" ; | ||
quality_flag:flag_values = 1b, 2b, 9b ; | ||
|
||
// global attributes: | ||
:source = "Iris test case" ; | ||
:Conventions = "CF-1.7" ; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters