gs2crmod 0.11.4 → 0.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.4
1
+ 0.11.5
data/gs2crmod.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gs2crmod"
8
- s.version = "0.11.4"
8
+ s.version = "0.11.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edmund Highcock", "Ferdinand van Wyk"]
@@ -62,6 +62,7 @@ Gem::Specification.new do |s|
62
62
  "lib/gs2crmod/read_netcdf.rb",
63
63
  "lib/gs2crmod/species_dependent_namelists.rb",
64
64
  "lib/gs2crmod/spectrogk.rb",
65
+ "lib/gs2crmod/spectrogk/deleted_variables.rb",
65
66
  "lib/gs2crmod/spectrogk/namelists.rb",
66
67
  "lib/gs2crmod/test_gs2.rb",
67
68
  "lib/gs2crmod_extension.rb",
@@ -0,0 +1,27 @@
1
+ {:stir_kx=>
2
+ {:should_include=>"true",
3
+ :description=>"Wavenumber of antennae",
4
+ :help=>"Wavenumber of antennae.",
5
+ :code_name=>:kx,
6
+ :must_pass=>
7
+ [{:test=>"kind_of? Integer",
8
+ :explanation=>"This variable must be an integer."}],
9
+ :type=>:Integer},
10
+ :stir_ky=>
11
+ {:should_include=>"true",
12
+ :description=>"Wavenumber of antennae",
13
+ :help=>"Wavenumber of antennae",
14
+ :code_name=>:ky,
15
+ :must_pass=>
16
+ [{:test=>"kind_of? Integer",
17
+ :explanation=>"This variable must be an integer."}],
18
+ :type=>:Integer},
19
+ :stir_kz=>
20
+ {:should_include=>"true",
21
+ :description=>"Wavenumber of antennae",
22
+ :help=>"Wavenumber of antennae",
23
+ :code_name=>:kz,
24
+ :must_pass=>
25
+ [{:test=>"kind_of? Integer",
26
+ :explanation=>"This variable must be an integer."}],
27
+ :type=>:Integer}}
@@ -891,38 +891,67 @@
891
891
  :should_include=>"true",
892
892
  :enumerator=>{:name=>:nk_stir, :estimated_value=>10},
893
893
  :variables=>
894
- {:stir_kx=>
894
+ {:mode_amplitude=>
895
895
  {:should_include=>"true",
896
- :description=>"Wavenumber of antennae",
897
- :help=>"Wavenumber of antennae.",
898
- :code_name=>:kx,
896
+ :description=>"",
897
+ :help=>"",
898
+ :code_name=>:mode_amplitude,
899
+ :must_pass=>
900
+ [{:test=>"kind_of? Numeric",
901
+ :explanation=>
902
+ "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
903
+ :type=>:Float},
904
+ :stir_kx=>
905
+ {:should_include=>"true",
906
+ :description=>"",
907
+ :help=>"",
908
+ :code_name=>:stir_kx,
899
909
  :must_pass=>
900
910
  [{:test=>"kind_of? Integer",
901
911
  :explanation=>"This variable must be an integer."}],
902
912
  :type=>:Integer},
903
913
  :stir_ky=>
904
914
  {:should_include=>"true",
905
- :description=>"Wavenumber of antennae",
906
- :help=>"Wavenumber of antennae",
907
- :code_name=>:ky,
915
+ :description=>"",
916
+ :help=>"",
917
+ :code_name=>:stir_ky,
908
918
  :must_pass=>
909
919
  [{:test=>"kind_of? Integer",
910
920
  :explanation=>"This variable must be an integer."}],
911
921
  :type=>:Integer},
912
922
  :stir_kz=>
913
923
  {:should_include=>"true",
914
- :description=>"Wavenumber of antennae",
915
- :help=>"Wavenumber of antennae",
916
- :code_name=>:kz,
924
+ :description=>"",
925
+ :help=>"",
926
+ :code_name=>:stir_kz,
917
927
  :must_pass=>
918
928
  [{:test=>"kind_of? Integer",
919
929
  :explanation=>"This variable must be an integer."}],
920
930
  :type=>:Integer},
921
- :mode_amplitude=>
931
+ :travel=>
922
932
  {:should_include=>"true",
923
933
  :description=>"",
924
934
  :help=>"",
925
- :code_name=>:mode_amplitude,
935
+ :code_name=>:travel,
936
+ :must_pass=>
937
+ [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
938
+ :explanation=>
939
+ "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
940
+ :type=>:Fortran_Bool},
941
+ :a=>
942
+ {:should_include=>"true",
943
+ :description=>"",
944
+ :help=>"",
945
+ :code_name=>:a,
946
+ :must_pass=>
947
+ [{:test=>"kind_of? Integer",
948
+ :explanation=>"This variable must be an integer."}],
949
+ :type=>:Integer},
950
+ :b=>
951
+ {:should_include=>"true",
952
+ :description=>"",
953
+ :help=>"",
954
+ :code_name=>:b,
926
955
  :must_pass=>
927
956
  [{:test=>"kind_of? Numeric",
928
957
  :explanation=>
@@ -3004,7 +3033,18 @@
3004
3033
  :must_pass=>
3005
3034
  [{:test=>"kind_of? String",
3006
3035
  :explanation=>"This variable must be a string."}],
3007
- :type=>:String}}},
3036
+ :type=>:String},
3037
+ :write_in_z=>
3038
+ {:should_include=>"true",
3039
+ :description=>
3040
+ "Write output quantities as a function of z rather of kz.",
3041
+ :help=>"Write output quantities as a function of z rather of kz.",
3042
+ :code_name=>:write_in_z,
3043
+ :must_pass=>
3044
+ [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
3045
+ :explanation=>
3046
+ "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
3047
+ :type=>:Fortran_Bool}}},
3008
3048
  :theta_grid=>
3009
3049
  {:description=>"",
3010
3050
  :should_include=>"true",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gs2crmod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.4
4
+ version: 0.11.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -180,6 +180,7 @@ files:
180
180
  - lib/gs2crmod/read_netcdf.rb
181
181
  - lib/gs2crmod/species_dependent_namelists.rb
182
182
  - lib/gs2crmod/spectrogk.rb
183
+ - lib/gs2crmod/spectrogk/deleted_variables.rb
183
184
  - lib/gs2crmod/spectrogk/namelists.rb
184
185
  - lib/gs2crmod/test_gs2.rb
185
186
  - lib/gs2crmod_extension.rb