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

Merge DTC_post into develop branch #131

Merged
merged 611 commits into from
Jun 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
611 commits
Select commit Hold shift + click to select a range
922b60a
Initialize 'recname' array to blank-fill array and avoid GNU compilin…
Nov 12, 2018
fe6a385
Merge branch 'DTC_post' of https://vlab.ncep.noaa.gov/code-review/EMC…
Nov 12, 2018
86ea71b
DTC Sync: Add gtg stub routines to community makefile
Nov 12, 2018
53d57fc
DTC Sync: Use 'INCLUDE mpif.h' instead of 'use mpi' for community por…
Nov 12, 2018
3c0747b
DTC Sync: Declare 'recname' array with blanks to avoid compiling erro…
Nov 12, 2018
538dc13
Temporary hack for community testing until EMC provides fix
Nov 15, 2018
73a3b09
Merge remote-tracking branch 'origin/master' into DTC_post
WenMeng-NOAA Nov 19, 2018
d75df46
Merge branch 'master' into DTC_post
Nov 20, 2018
6d4760f
DTC Sync: Add and update initialization routines for NMM binary read.…
Nov 20, 2018
7a39ed3
Link data files in run_unipost scripts for updated CRTM
Nov 20, 2018
219d973
First stage in removing WRF dependency: if you copy in the frame/, ma…
May 14, 2018
be62319
Second stage in removing WRF dependency:
May 16, 2018
e17ffcf
Adding a basic .gitignore file
May 16, 2018
5407f7b
AR should not be defined with flags, this can be different for some p…
May 17, 2018
23d460d
Third stage in removing WRF dependency: configure.wrf file no longer
May 18, 2018
9d44461
Adding some makefiles to track their changes
May 21, 2018
3f42e07
Updating clean rules to fully clean wrf_io stuff
May 22, 2018
fae2a68
Fourth stage in removing WRF dependency: configure.wrf no longer requ…
May 23, 2018
4265d08
Versioning WRF files in frame/ directory. No longer need to copy this…
May 23, 2018
63df799
Fifth stage in removing WRF dependency: frame/ and main/ no longer need
May 24, 2018
5c402e2
Fix hard-coding of netCDF path. Don't think it was causing problems b…
May 24, 2018
e7b57fc
Finally started testing other platforms/options. This commit fixes se…
May 25, 2018
e329dd0
Properly add serial flags. Not sure why the previous version was work…
May 25, 2018
dd53fdc
Clean out the remnants of the platform-specific wrf_makerules.
May 25, 2018
f7759cb
More wrf_makerules cleanup
May 30, 2018
75ca539
Even more wrf_makerules cleanup
May 31, 2018
8d8bf00
Continuing wrf_makerules cleanup, adding to-do list under version con…
May 31, 2018
9e56d21
Removing a lot more unnecessary make rules.;
Jun 1, 2018
01f298e
Remove registry requirement, and version necessary tools/ files
Jun 1, 2018
ec0bbdc
Adding a bunch of external io source code
Jun 1, 2018
c770d90
Remove inc/ dependency...very close to removing all WRF dependency!
Jun 1, 2018
241d10e
Added rest of external libraries, now just testing to go!
Jun 1, 2018
fc869dc
Delete todo
Jun 18, 2018
89d8ed2
Get rid of diffwrf, stub-ify wrf_debug
Aug 16, 2018
de4e24c
Remove wrf_debug completely. There, one WRF routine down, seventeen t…
Aug 16, 2018
9ba56dd
Remove ESMF dependence. Lots of line savings here!
Aug 16, 2018
92f610d
Remove WRF grib1 stuff, really making progress now!
Aug 16, 2018
a1cee99
Remove rest of WRF grib stuff, references to UPP libs from WRF
Aug 17, 2018
ce17b89
Removing fftpack
Aug 20, 2018
b6fdfbc
Get rid of some "undefined reference" warnings
Aug 21, 2018
3393c11
Move module_internal_header_util and intio_tags to io_int directory
Aug 22, 2018
b485361
Remove module_wrf_error, add some stub routines to compensate
Aug 27, 2018
d8c1e62
Remove module_machine
Aug 27, 2018
6338a71
Remove module_driver_constants and wrf_shutdown
Aug 27, 2018
86986f1
Tools directory removed!
Aug 28, 2018
e648dfc
Removing ioapi_share directory, redistributing necessary include files
Aug 28, 2018
b50366a
libwrf no longer necessary
Aug 29, 2018
17ee767
Remove a whole bunch more residual WRF crap. Mostly unnecessary
Sep 4, 2018
91bda22
Remove module_wrfsi_static
Sep 4, 2018
4e4ad0a
Remove WRF links from unipost run script; include necessary lookup
Sep 4, 2018
bd15e1d
Remove unnecessary subroutines from pack_utils
Sep 4, 2018
d4ce4d8
Delete a whole bunch more unneeded flags and variables
Sep 4, 2018
edba62c
Remove unnecessary netCDF code
Sep 5, 2018
b0ae533
Remove frame directory, final step before consolidating everything in
Sep 5, 2018
dd56812
Remove a test routine and an unnecessary variable
Sep 5, 2018
bb2be5e
A bunch more stuff stripped out.
Sep 6, 2018
fe65b51
Start moving code to final location: move io_int code to wrf_io top d…
Sep 6, 2018
d2558e4
Continue moving WRF code to its final location: move io_netcdf code t…
Sep 6, 2018
940b529
Move WRF remnants to their final location: src/lib/wrf_io
Sep 7, 2018
7e17e48
Deprecate capability to read WRF binary I/O files
Oct 5, 2018
4543a4c
Remove rest of WRF binary I/O code
Oct 8, 2018
02f020a
Some final touch-ups to this code before rigorous testing.
Oct 18, 2018
534275d
Remove old changes inadvertantly included in removal of WRF dependency
Nov 28, 2018
996bfbb
Update ip libraries to v3.0.0
Feb 1, 2019
239f792
Update g2 libraries to v3.1.0
Feb 1, 2019
8a37175
Update sigio libraries to v2.1.0
Feb 1, 2019
4cdc903
Update g2tmpl libraries to v1.5.0
Feb 1, 2019
f688ecf
update version info/log
Feb 1, 2019
a4efee4
Updating UPP run scripts and Adding V4 Users Guide
Feb 5, 2019
dfb5e80
Merge branch 'DTC_post' of https://vlab.ncep.noaa.gov/code-review/EMC…
Feb 5, 2019
cf3f46d
Add GFS config files and update run scripts
Feb 12, 2019
a2f8142
Update V4 UG
Feb 12, 2019
dc89432
Adding "-w" flag to wrf_io makefile to suppress "Unrecognized directi…
Feb 12, 2019
4312796
Update V4.0 UG required libraries section
Apr 9, 2019
0c953a7
Merging DTC_post with master
Jun 13, 2019
c66b0d4
Bug fix for nemsiompiio format for FV3GFS processing
Jul 2, 2019
70ecd8d
Edit version info for updated nemsio library to v2.2.2 and bug fix up…
Jul 2, 2019
207be01
Nemosio fix for serial built from Laurie.
kayeekayee Jul 16, 2019
47779a8
modifying scripts to use binarynemsiompiio format for FV3
Jul 25, 2019
2ae3477
Modify error message to reflect binarynemsiompiio
Jul 25, 2019
df8752c
Jira #121 Fix typo in Wind Energy Calculation (UPP ID 411) in MDL2AGL.f
Aug 1, 2019
0a1576b
Jira #122 Fix error that grabs incorrect EL level for TAUX/TAUY calcu…
Aug 1, 2019
c43c740
Jira #131 Fix error in pname for updraft helicity in post_avblflds.xml
Aug 1, 2019
9cc7ea2
Jira #132 Fix incorrect grib codes in RQSTFLD.f for wind shear variables
Aug 1, 2019
ab752ed
Jira #135 Fix allocation issue for PSFC in Block 2 of SURFCE.f
Aug 1, 2019
f208af9
Jira #136 Fix typo in CALRAD_WCLOUD_newcrtm.f of incorrect iget ID fo…
Aug 1, 2019
cd0db61
Jira #139 Remove 10 m POT/SPFH from wrf params - not available for wr…
Aug 2, 2019
fd391d9
Fix mods for selecting satellite channels in CALRAD_WCLOUD_newcrtm.f …
Aug 15, 2019
17585cd
modify makefile to conditionally add mpi stubs for serial builds, ins…
Aug 16, 2019
55f05dd
Modified GRIB1 Table lyx doc for available satellite channels/levels
Aug 21, 2019
fed69eb
Merge remote-tracking branch 'upstream/develop' into DTC_post
fossell Oct 7, 2019
b98fc83
Fix allocation issue for PSFC in Block 2
fossell Oct 7, 2019
d4cfd01
Fix mods for selecting satellite channels in CALRAD_WCLOUD_newcrtm
fossell Oct 7, 2019
c44ce2c
Fix grib codes in RQSTFLD.f for wind shear variables
fossell Oct 7, 2019
f5cc81d
Fix incorrect EL level for TAUX/TAUY calculation
fossell Oct 7, 2019
1196e27
Fix typo in Wind Energy Calculation (UPP ID 411)
fossell Oct 7, 2019
1964f8f
Merge pull request #8 from fossell/DTC_post
fossell Oct 8, 2019
0a841b4
Fix index for SEVIRI
fossell Oct 8, 2019
d12a70e
Fix index for SEVIRI
fossell Oct 8, 2019
c5afce4
Manual sync of EMC mods to comupp
fossell Oct 8, 2019
e2dc6ce
Add new routines to makefile
fossell Oct 8, 2019
ed5189c
Update crtm submodule to v2.2.3.1_subset tag to include GOES-R/abi* f…
fossell Oct 8, 2019
6e4a609
Add abi* coefficient files to run scripts for GOES16 products
fossell Oct 8, 2019
5b9fa08
Remove extraneous great than sign
fossell Oct 24, 2019
aa5bb0d
Comment out #if for testing. PGI and GNU fail with this syntax
fossell Oct 24, 2019
2cf115e
Remove extraneous greater than sign
fossell Oct 24, 2019
b782e96
Revert MXLVL back to 70. Comment out #if 0 lines.
fossell Oct 28, 2019
12b5dff
Remove nmm-binary read file. No longer supported
fossell Oct 28, 2019
914fc14
Add community contorl filse and update others
fossell Oct 28, 2019
c1d4b39
Merge pull request #1 from fossell/sync_emc_oct2019
fossell Oct 28, 2019
c9d1d7c
Merge pull request #15 from fossell/DTC_post
fossell Oct 28, 2019
0d1d7d3
Chain make commands with "&&" instead of ";", this prevents infinite …
mkavulich Oct 3, 2019
b1d5449
Initial progress in new build system:
mkavulich Oct 8, 2019
28bb8dd
Missed one change to properly build with external WRF libs
mkavulich Oct 8, 2019
691f820
Removing netCDF discovery dialogue. We should not try to be cute or c…
mkavulich Oct 9, 2019
dd394ff
Revamping how we check for JASPER libraries/include files.
mkavulich Oct 9, 2019
61898c3
Deleting old deprecated makefiles clogging up src/unipost
mkavulich Oct 10, 2019
84bf2ee
Use consistent JASPER variables between UPP and NCEPlibs. Allow old J…
mkavulich Oct 10, 2019
4a224da
Use external GRIB2 (g2 and g2tmpl) library builds. Tested on Cheyenne…
mkavulich Oct 11, 2019
22be5f5
Got unipost to build with all (possible) external libraries
mkavulich Oct 15, 2019
a45ad6b
ndate and copygb also build with external libraries (cheyenne, gnu)
mkavulich Oct 15, 2019
1f79683
Since we no longer have a native copy of "params_grib2_tbl_new" file …
mkavulich Oct 15, 2019
942f2f3
The big merge is here! Moved all the comupp framework to the top level.
mkavulich Oct 23, 2019
74b1b08
Remove top-level makefile to simplify things
mkavulich Oct 23, 2019
c020234
Removing the last of the external libraries
mkavulich Oct 23, 2019
f87c39e
Under comupp, moving contents of docs/ parm/ and scripts/ to correspo…
mkavulich Oct 23, 2019
bffda7d
Modify clean and compile scripts for proper directory navigation; thi…
mkavulich Oct 24, 2019
86fd5cd
In clean script, only try to find custom make command if configure.up…
mkavulich Oct 24, 2019
7ac8c61
Overhaul ncep_post build script: use bash instead of sh, machine name…
mkavulich Oct 24, 2019
d31ed32
Using feedback from Tracy, removing or renaming the rest of the files…
mkavulich Oct 25, 2019
0bc27da
Add top-level .gitignore file so git will not track compilation files…
mkavulich Oct 28, 2019
ff147c0
Updating community runscripts
mkavulich Oct 28, 2019
e683f55
Should not try to set NETCDF environment variable; if it was not alre…
mkavulich Oct 29, 2019
d05ea47
Convert clean and compile scripts to bash to match other scripts (and…
mkavulich Oct 29, 2019
7afe89d
One more csh->bash change: need to use !-s test instead of -z
mkavulich Oct 29, 2019
9850b22
A few more tidying changes for clean: restore use of printf to get ne…
mkavulich Oct 29, 2019
dfc1b90
Allow ncep_post compilation from ./compile script by providing argument
mkavulich Oct 29, 2019
2976707
Removing the last of the comupp remnants
mkavulich Oct 29, 2019
7824a1f
Fix dumb mistake: need to actually create the exec directory we want …
mkavulich Oct 29, 2019
bf4b563
Add Darwin, gnu stanza to configure.defaults
mkavulich Nov 1, 2019
0213b84
Accidentally removed last NULL stanza from configure.defaults; this c…
mkavulich Nov 4, 2019
b313fb3
Prepping configure architecture to allow individual locations of NCEP…
mkavulich Nov 5, 2019
9662f44
One last overhaul of configure system
mkavulich Nov 5, 2019
83fe23b
Forgot to remove some debug prints from configure script
mkavulich Nov 6, 2019
2e39f70
Continuing overhaul of configure system to allow linking of libraries…
mkavulich Nov 6, 2019
e80d040
One final intermediate commit on new config system before the big finale
mkavulich Nov 7, 2019
0b3589e
Configure system now fully mix-and-match configurable for NCEP libraries
mkavulich Nov 7, 2019
b3e44f3
A few miscellaneous improvements to configure script
mkavulich Nov 11, 2019
efc60f4
More portable solution for GRIB2 table: use already existing params_g…
mkavulich Nov 12, 2019
8b0dbda
Fix locations of params_grib2_tbl_new and crtm coefficient files
mkavulich Nov 12, 2019
a18b991
Adding version numbers and precision info to library names
mkavulich Dec 18, 2019
50c452e
Merge pull request #17 from mkavulich/DTC_post_unified_build
fossell Dec 19, 2019
38bd0ab
Merge remote-tracking branch 'upstream/develop' into DTC_post_merge
hertneky Jan 3, 2020
7d65ea7
Merge remote-tracking branch 'upstream/develop' into DTC_post_merge
Jan 3, 2020
d4a653c
Remove jasper requirement; this is obsolete since it is only needed f…
mkavulich Jan 7, 2020
f6a8bed
Add mods from develop
Jan 14, 2020
4121176
Update dtc makefile to compile new routines
Jan 14, 2020
c4641c2
Merge pull request #49 from hertneky/DTC_post
fossell Jan 21, 2020
3c0f304
Add check to configure script to ensure CRTM submodule has been check…
mkavulich Jan 23, 2020
e241779
Merge pull request #53 from mkavulich/pre-release-cleanup
fossell Jan 23, 2020
2e57da3
Merge remote-tracking branch 'origin/DTC_post_merge' into DTC_post_merge
Jan 24, 2020
1064c85
fix for filling a handful of 2d variables currently causing a divide-…
Jan 24, 2020
912393b
Fix ID index in WRF-CHEM SMOKE block, which currently causes failed b…
Jan 24, 2020
b43a4d2
Modification to makefile for compiling new routines added from develop
Jan 24, 2020
555d98b
Merge pull request #54 from hertneky/DTC_post_merge
fossell Jan 24, 2020
3c6a72d
Remove blank line from params_grib2_tbl_new that causes memory fault …
Jan 30, 2020
ca85048
Merge pull request #57 from hertneky/DTC_post_paramFix
fossell Jan 30, 2020
3a8791f
Add the flat file name (postxconfig-NT.txt) to fix the itag bug for G…
kayeekayee Jan 30, 2020
3dd46e7
Merge pull request #59 from kayeekayee/DTC_post
fossell Feb 3, 2020
f695537
Change MXLVL back to 70 for COMMCODE in RQSTFLD.F
Feb 3, 2020
172bab0
Merge pull request #60 from hertneky/DTC_post
fossell Feb 3, 2020
55419ab
Merge remote-tracking branch 'upstream/develop' into DTC_post_merge_2…
Feb 4, 2020
af181ba
Merge pull request #65 from hertneky/DTC_post_merge_20200204
fossell Feb 5, 2020
1a711f2
Add if-statement for imp_physics when calling GSD VIS (dependency is …
Feb 5, 2020
3b79e89
Fix the way that the parameter 'rg' is read in, should be read in fro…
Feb 6, 2020
a4cdcf7
Merge pull request #67 from hertneky/DTC_post_20200205_bugFix
fossell Feb 6, 2020
bc55d5b
Temporarily restoring the ability to run build_ncep_post.sh without a…
mkavulich Feb 6, 2020
1976489
Merge pull request #68 from mkavulich/restore_auto-detect_machine
fossell Feb 6, 2020
5bb461e
Turn off 2 fields not available for ARW, which were causing seg fault…
Feb 12, 2020
b4feea2
Merge pull request #69 from hertneky/DTC_post_parmFix
fossell Feb 12, 2020
9a562bf
Initialize n_clouds=0 and print msg, when not defined for certain mp_…
Feb 12, 2020
538efbd
Merge pull request #71 from hertneky/DTC_post
fossell Feb 12, 2020
c66d884
1) Initialize variables as zero that were not initialized for ARW, ca…
Feb 12, 2020
9762488
Merge pull request #72 from hertneky/DTC_post
fossell Feb 12, 2020
b715f4e
Add v4.1-beta UG
Feb 18, 2020
1be4143
Add new HWRF routine
fossell Feb 19, 2020
cba0d43
Allocate/deallocate HWRF variables
fossell Feb 19, 2020
eed4746
Add HWRF variables
fossell Feb 19, 2020
43a6ca7
Add cd10 and ch10 code for HWRF
fossell Feb 19, 2020
0b289a5
Add new HWRF vars to rqstflds
fossell Feb 19, 2020
52e4ee9
Add new HWRF routine to community makefile
fossell Feb 19, 2020
1c7ef03
Add NMM model for HWRF
fossell Feb 19, 2020
9bea725
WRF-NMM has no data for certain fields at the boundary. Add code to …
fossell Feb 19, 2020
2c1c0e3
Correct typo made when adding support for advected Ferrier-Aligo micr…
fossell Feb 19, 2020
a200dbb
Add Himawari sensors
fossell Feb 19, 2020
e71132f
Removing serial option for this release
mkavulich Feb 20, 2020
c673ef3
Better solution to avoid changing option numbering: if users select a…
mkavulich Feb 20, 2020
cf9db90
Merge pull request #86 from mkavulich/remove_serial_option
fossell Feb 20, 2020
e186df3
Updated submodule to new tag v2.2.3.2_subset to include Himawari files
Feb 25, 2020
7fc8259
Add Himwari sensors to list
fossell Feb 26, 2020
1b1f3bd
Merge branch 'HWRF_merge' of https://github.com/fossell/EMC_post into…
fossell Feb 26, 2020
b3e503a
Merge branch 'DTC_post' into HWRF_merge
fossell Feb 26, 2020
a4363ce
Merge remote-tracking branch 'upstream/DTC_post' into DTC_post
hertneky Feb 27, 2020
a8a190e
Fix typo in grib tables
hertneky Feb 27, 2020
b8b7b49
Change name of UPPV4.1 users guide
hertneky Feb 27, 2020
2ed875a
Add link to Himawari fix files in run scripts
fossell Feb 28, 2020
e4e022f
Switch to updated Himawari fix files for testing
fossell Mar 9, 2020
5e29c9a
Updates to v4.1 UG
hertneky Mar 10, 2020
937946f
Fix Out of Bound Exception in GFSPOST.F (#100)
DusanJovic-NOAA Feb 27, 2020
e09a438
Updating CRTM submodule tag to include Himawari fix file
fossell Mar 12, 2020
07cbf35
Merge pull request #104 from hertneky/DTC_post
fossell Mar 12, 2020
b40e3d7
Merge pull request #108 from fossell/DTC_post
fossell Mar 12, 2020
416f07a
Merge pull request #109 from fossell/Tpause_bugfix
fossell Mar 12, 2020
267d4a0
Added the FV3 netcdf option and updated the netcdf format check for F…
kayeekayee Mar 13, 2020
4cb9275
Update run_unipost
kayeekayee Mar 13, 2020
433d396
Update run_unipostandgempak
kayeekayee Mar 13, 2020
f409ac8
Update run_unipostandgrads
kayeekayee Mar 13, 2020
0abeecf
Merge pull request #110 from kayeekayee/DTC_post
fossell Mar 13, 2020
6cdb2ad
Update parameter files and remove some duplicate parameter files
hertneky Mar 26, 2020
6ac51d3
Merge pull request #113 from hertneky/DTC_post
fossell Mar 27, 2020
dff71d8
Update scripts with bug fix for FV3GFS data and minor file link corre…
fossell Apr 3, 2020
cd1a7de
Minor updates to fields file info
fossell Apr 3, 2020
22bdb8a
Merge pull request #114 from fossell/DTC_post
fossell Apr 3, 2020
8a29cf1
Add GOES 16/17 to GRIB2 table, update release tag in UG
hertneky Apr 8, 2020
7b2029b
Merge remote-tracking branch 'upstream/DTC_post' into DTC_post
hertneky Apr 8, 2020
1bf8e9c
Merge remote-tracking branch 'upstream/DTC_post' into HWRF_merge
fossell Apr 13, 2020
d19611f
remove redundant line
fossell Apr 13, 2020
0429234
Add extra space character to obslist to fit himarwari
fossell Apr 14, 2020
74be396
Add Himawari-8 for grib2
hertneky Apr 14, 2020
a5dbe9f
Link Himawari-8 coefficient files in run_unipost script
hertneky Apr 14, 2020
eefeeb6
Add new HWRF routine to EMC makefile
fossell Apr 21, 2020
15e695c
Merge pull request #119 from fossell/HWRF_merge
fossell Apr 21, 2020
7289f7f
Merge Tracy's Himawari mods. Modify HWRF CD CH UPP IDs to non-Himawar…
fossell Apr 23, 2020
0fe9cf1
Changed HWRF's CD/CH exchange coeff UPP IDs to 922 and 923 to avoid c…
fossell Apr 23, 2020
4369984
Merge branch 'hertneky-DTC_post_himawari' into HWRF_merge
fossell Apr 23, 2020
a07fce4
Set n_clouds to zero to avoid crashes. This got removed in merge somehow
fossell Apr 24, 2020
8a6c051
Merge pull request #123 from fossell/HWRF_merge
fossell Apr 24, 2020
0f9c0a2
Merge DTC_post new build structure and various bug fixes into develop…
fossell May 15, 2020
0380792
Merge with develop
fossell May 22, 2020
3cd9665
Remove old lyx doc files
fossell May 26, 2020
a303227
Remove old run scripts
fossell May 26, 2020
b1420f5
Initialize aerosol coeffs and remove mp check to avoid failures
fossell May 26, 2020
8a0d822
Add Himawari coefficients to list of crtm files to link
fossell May 29, 2020
c8127a7
Modify UPP IDs for Himawari fields to avoid conflict with other model…
fossell Jun 4, 2020
b5902f7
Increase MXFLDS to accommodate new Himawari IDs
fossell Jun 4, 2020
3be22ef
Fix index for Himwarai channel 7
fossell Jun 4, 2020
d7b32a0
Add Orion and Odin back into build script
fossell Jun 5, 2020
cb98ba0
Change lowercase o to uppercase O for orion
fossell Jun 8, 2020
a89df5f
Add Orion and Odin to list of machines
fossell Jun 8, 2020
d1a5916
Save DTC grib2 table and restore develop branch version to be default
fossell Jun 8, 2020
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
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This is the top-level .gitignore file for the Unified Post-Processor (UPP) #
# #
# Filenames and wildcards added below will not be tracked by git in any #
# directory in the repository #
# #
# Ignored file types should include executables, build-time temporary files, #
# and other files which should not ever be added to the code repository. #
# #
# USE CAUTION WHEN ADDING WILDCARDS, as some builds use different filename #
# conventions than others #
##############################################################################
*.exe
*.o
*.mod
*.a
configure.upp*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "comupp/src/lib/crtm2"]
path = sorc/comlibs/crtm2
url = https://github.com/NCAR/UPP_CRTM
57 changes: 57 additions & 0 deletions clean
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#!/bin/bash

if [[ "$1" == '-a' ]]; then
CLEANALL=true
fi
# execute all make clean in subshell to retain PWD
# we don't care about failures so ignore 'em
printf "\n\n<><><><><><><><> CLEAN BEGIN <><><><><><><><>\n\n"
TOPDIR=$PWD
#Use make as specified in configure file unless it is empty
if [ ! -e configure.upp ]; then
MAKE="make"
else
MAKE=`awk '($1~/^MAKE/) {print substr($0,index($0,"=")+1) }' configure.upp`
MAKE=${MAKE:-make} # If above command returned nothing, set MAKE to "make"
fi
cd $TOPDIR/sorc/comlibs
$MAKE clean
cd $TOPDIR/sorc/ncep_post.fd
$MAKE clean -f makefile_dtc
cd $TOPDIR

#
# clear configuration file to force a reconfigure after a clean
# Configuration file exists
if [ -e configure.upp ]; then
#
# If configuration file is empty don't overwrite backup
if [ -s configure.upp ]; then
/bin/mv configure.upp configure.upp.backup
fi
fi

# empty file for clean op
touch configure.upp

printf "\n\n<><><><><><><> CLEAN COMPLETE <><><><><><><><>\n\n"
# Now remove this to force a reconfigure

#
# clean -a -- look for anything that may not have been cleaned up and
# remove it
if [[ "$CLEANALL" == 'true' ]]; then
printf "\n\n<><><><><><><> CLEAN ALL <><><><><><><><>\n\n"
set -x
/bin/rm -rf ./netcdf_links
find . -name \*.exe -exec \rm {} \;
find . -name \*.o -exec \rm {} \;
find . -name \*.a -exec \rm {} \;
find . -name \*.mod -exec \rm {} \;

rm -rf exec
rm -rf lib
rm -rf include
set +x
printf "\n\n<><><><><><> CLEAN ALL COMPLETE <><><><><><><><>\n\n"
fi
40 changes: 40 additions & 0 deletions compile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/bin/bash

# Set current directory for easy navigation
TOPDIR=`pwd`

# The only arguments should be for the NCEP build; if that's the case
# then configure.upp is not necessary and will be ignored if it exists
if [ "$#" -eq 0 ]; then
if [ ! -e configure.upp ]; then
echo "ERR :: No configure.upp file => Do './configure' first"
exit 1
elif [ ! -s configure.upp ]; then
echo "ERR :: Empty configure.upp file => Do './configure' first"
exit 2
fi

echo "**** Compiling UPP and all libs ****"
MAKE=`awk '($1~/^MAKE/) {print substr($0,index($0,"=")+1) }' configure.upp`
MAKE=${MAKE:-make} # If above command returned nothing, set MAKE to "make"
cd $TOPDIR/sorc/comlibs
$MAKE
cd $TOPDIR/sorc/ncep_post.fd
$MAKE -f makefile_dtc
cd $TOPDIR
else
cd $TOPDIR/sorc
./build_ncep_post.sh $1
RETURN=$?
if [ "$RETURN" -ne 0 ]; then
echo "*******************************"
echo " "
echo "Unrecognized compile target $1."
echo " "
echo " For ncep_post, you must provide a valid machine name"
echo " "
echo "*******************************"
exit 1
fi
fi

Loading