-
Notifications
You must be signed in to change notification settings - Fork 4
/
readme
97 lines (68 loc) · 3.56 KB
/
readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
README for NEMSIO
NOAA/NCEP/EMC NCWCP 2017
BYTE-ADDRESSABLE I/O C PACKAGE
Originally written by M.Iredell & J.Wang
Code Management and Version targeted to improve performance by Hang Lei
libver='nemsio_v2.2.4'
Location: URL:
git clone https://vlab.ncep.noaa.gov/code-review/NCEPLIBS-nemsio
Directory contains:
README - current file
src
modulefiles
*** Usage: ./build_w3emc.sh dell|cray|wcoss|theia|hera|gaea|jet|intel_general|gnu_general libver=<lib_ver> [debug] [compileonly] [prefix=<installpath>]
================================================
-------------
Adjust to NCO format for version v2.2.4
----------------------------------------------
lib/nemsio/v2.2.4
|
`--src
`--modulefiles
| |
| `--v2.2.4
`--unit_test
`--lib/libnemsio_v2.2.4.a
|
`--include
|
`--nemsio_v2.2.4
|
`--nemsio_*.mod
nceplibs/nemsio lib:
==================================================
V2.2.4 Hang Lei since version 2.2.4, the nemsio library only update on github.
In this version, the improvement is made to read extra meta data in nemsio files.
logical conditions is added in nemsio_openclose.f90 line 2512-2570.
svn site:
https://svnemc.ncep.noaa.gov/projects/nceplibs/nemsio/trunk
--- 20120723
1)fix data type for input argument IX in subroutine BAFRINDEX of bafrio.f
2)when option "rdwr" is chosen to update a nemsio grib file, a bug is fixed to read out pressure fields.
3)For nemsio grib file, the Gaussian grid information will be computed only once.
These changes have no impact on the results.
--- 20120509:
1)This nemsio version is v17978 from nemsio repository :
https://svnemc.ncep.noaa.gov/projects/nems/branches/nemsio
It is considered as a first merged version from user's application on zeus.
This version has byteswap inside. It reads a binary file using machine endianness, if failed it then reads the file with opposite machine endianness. It writes a file with machine endianness unless it is specified in "gdatatype".
2)Potential problems when updating user's application to this version:
Since nemsio fixed some field names and changed precision in ncep grib table, you may notice that some fields are changing names and values. But so far I don't expect any serious problem to prevent your application from running due to nemsio upgrade except in NEMS NMMB code. If you are updating nemsio lib and your application can not run properly, please let me know.
a)NEMS NMMB
If you are on NEMS trunk version 16506 or earlier, and would like to stick at that version but to use nemsio version 16500 and later, NEMS NMMB code should made following changes:
step 1) go to nems code: src/atmos/share:
- remove module_NEMSIO_MPI.F90,
- delete module_NEMSIO_MPI.o in makefile
step 2) in src/atmos/nmm:
change:
"use module_nemsio_mpi"
to:
"use nemsio_module_mpi"
in file module_PHYSICS_INIT_READ_NEMSIO.F90 and module_DYNAMICS_INIT_READ_NEMSIO.F90
b)NEMS GFS output data
If you are accessing folowing NEMS GFS output flx fields from NEMS trunk verion 14719 and before,
csulwrf csuswrf csdlwrf csdswrf snohfa smcwlt smcref sunshine
You should access them with standard names in ncep grib table, which are shown in NEMS trunk verion 14725 and later.
csulf csusf csdlf csdsf snohf wilt fldcp sunsd
@@@:
if you have questions on nemsio lib, please email: jun.wang@noaa.gov