Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
root@ubuntu-s-2vcpu-4gb-nyc3-01:~/CMAQ-5.2.1/data/CMAQ-ASU1K/cctm_input/land# ./CMAQ_ASU_OCEAN.csh
This program uses the EPA-AREAL/MCNC-EnvPgms/BAMS Models-3
I/O Applications Programming Interface, [I/O API] which is
built on top of the netCDF I/O library (Copyright 1993, 1996
University Corporation for Atmospheric Research/Unidata
Program) and the PVM parallel-programming library (from
Oak Ridge National Laboratory). Copyright (C) 1992-2002 MCNC,
(C) 1992-2013 Carlie J. Coats, Jr., and (C) 2003-2012 Baron
Advanced Meteorological Systems, LLC and released under the
GNU LGPL License, version 2.1. See URL
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
for conditions of use.
ioapi-3.1: $Id:: init3.F 321 2016-02-26 16:00:20Z coats $
Version with PARMS3.EXT/PARAMETER::MXVARS3= 2048
netCDF version 4.1.3 of Sep 9 2018 05:59:27 $
Missing environment variable EXECUTION_ID
Program "M3FAKE" to create "dummied-up" M3IO files according to
the user-specified file description, and optionally ASCII input
data files.
USAGE: "m3fake [<lname>]" and follow the prompts.
THE PROGRAM WILL PROMPT YOU for the logical name of the
output file (unless you put it on the command line),
the specifications for the output file, and (if appropriate)
the logical names of the ASCII input data files.
PRECONDITIONS REQUIRED:
setenv GRIDDESC <path-name>
setenv <output lname> <path-name>
setenv <input lname> <path-name> for each input file
The input data files, if any, must be a list-directed
(e.g., comma-delimited) ASCII file containing all of the
desired input data for a single variable each, to be
copied into the output file. This option is available
for REAL variables only. The data should be ordered /
formatted as follows:
The fastest subscript should be grid-column
There should be a line-break after each column
The next subscript should be grid-row
The next subscript should be grid-layer if present
The slowest subscript should be time-step if present
See URL
https://www.cmascenter.org/ioapi/documentation/3.1/html#tools
Program copyright (C) 1992-2002 MCNC, (C) 1995-2013
Carlie J. Coats, Jr., and (C) 2002-2010 Baron Advanced
Meteorological Systems, LLC. Released under Version 2
of the GNU General Public License. See enclosed GPL.txt, or
URL http://www.gnu.org/copyleft/gpl.html
Comments and questions are welcome and can be sent to
Carlie J. Coats, Jr. cjcoats@email.unc.edu
UNC Institute for the Environment
100 Europa Dr., Suite 490 Rm 405
Campus Box 1105
Chapel Hill, NC 27599-1105
Program version:
$Id:: m3fake.f 44 2014-09-12 18:03:16Z coats $
Value for PROMPTFLAG not defined;returning default: TRUE
Continue with program? (Y/N) [Y] >> Returning default value TRUE for query:
"Continue with program?"
First, let us define the file type and get the dimensions.
Value for PROMPTFLAG not defined;returning default: TRUE
*******************************************************************************
* *
* 1: File type CUSTOM *
* 2: File type GRIDDED *
* 3: File type BOUNDARY *
* *
*******************************************************************************
Enter file type [2] >> Using default "File type GRIDDED"
Value for PROMPTFLAG not defined;returning default: TRUE
Enter the grid name >> [""] >> Using response "2"
File "GRIDDESC" opened for input on unit: 99
/root/CMAQ-5.2.1/data/CMAQ-ASU1K/cctm_input/GRIDDESC
Value for PROMPTFLAG not defined;returning default: TRUE
Enter number of GRID COLUMNS [100] >>
>>> RESPONSE ERROR <<<
Did not understand your response
This is error 1 of 5 errors allowed
Please try again.
Enter number of GRID COLUMNS [100] >> Using response 1
Enter number of GRID ROWS [100] >>
>>> RESPONSE ERROR <<<
Your response 0 not in the range 1 ... *******
This is error 1 of 5 errors allowed
Please try again.
Enter number of GRID ROWS [100] >> Using response 2
Next, let us construct the horizontal coordinate system
("map projection") for the file
*******************************************************************************
* *
* 1: Map projection type LAT-LON *
* 2: Map projection type LAMBERT CONFORMAL CONIC *
* 3: Map projection type MERCATOR( general) *
* 4: Map projection type (tangent) STEREOGRAPHIC *
* 5: Map projection type UTM *
* 6: Map projection type (secant) POLAR STEREOGRAPHIC *
* 7: Map projection type EQUATORIAL MERCATOR *
* 8: Map projection type TRANSVERSE MERCATOR *
* 9: Map projection type ALBERS EQUAL-AREA CONIC *
* 10: Map projection type MISSING or NOT APPLICABLE *
* *
*******************************************************************************
Enter coordinate system type [ 2] >>
>>> RESPONSE ERROR <<<
Did not understand your response
This is error 1 of 5 errors allowed
Please try again.
*******************************************************************************
* *
* 1: Map projection type LAT-LON *
* 2: Map projection type LAMBERT CONFORMAL CONIC *
* 3: Map projection type MERCATOR( general) *
* 4: Map projection type (tangent) STEREOGRAPHIC *
* 5: Map projection type UTM *
* 6: Map projection type (secant) POLAR STEREOGRAPHIC *
* 7: Map projection type EQUATORIAL MERCATOR *
* 8: Map projection type TRANSVERSE MERCATOR *
* 9: Map projection type ALBERS EQUAL-AREA CONIC *
* 10: Map projection type MISSING or NOT APPLICABLE *
* *
*******************************************************************************
Enter coordinate system type [ 2] >>
>>> RESPONSE ERROR <<<
Did not understand your response
This is error 2 of 5 errors allowed
Please try again.
*******************************************************************************
* *
* 1: Map projection type LAT-LON *
* 2: Map projection type LAMBERT CONFORMAL CONIC *
* 3: Map projection type MERCATOR( general) *
* 4: Map projection type (tangent) STEREOGRAPHIC *
* 5: Map projection type UTM *
* 6: Map projection type (secant) POLAR STEREOGRAPHIC *
* 7: Map projection type EQUATORIAL MERCATOR *
* 8: Map projection type TRANSVERSE MERCATOR *
* 9: Map projection type ALBERS EQUAL-AREA CONIC *
* 10: Map projection type MISSING or NOT APPLICABLE *
* *
*******************************************************************************
Enter coordinate system type [ 2] >>
>>> RESPONSE ERROR <<<
Did not understand your response
This is error 3 of 5 errors allowed
Please try again.
*******************************************************************************
* *
* 1: Map projection type LAT-LON *
* 2: Map projection type LAMBERT CONFORMAL CONIC *
* 3: Map projection type MERCATOR( general) *
* 4: Map projection type (tangent) STEREOGRAPHIC *
* 5: Map projection type UTM *
* 6: Map projection type (secant) POLAR STEREOGRAPHIC *
* 7: Map projection type EQUATORIAL MERCATOR *
* 8: Map projection type TRANSVERSE MERCATOR *
* 9: Map projection type ALBERS EQUAL-AREA CONIC *
* 10: Map projection type MISSING or NOT APPLICABLE *
* *
*******************************************************************************
Enter coordinate system type [ 2] >> Using response "Map projection type MERCATOR( general)"
Value for PROMPTFLAG not defined;returning default: TRUE
Enter latitude for cylinder origin [ 3.000000000000000D+01] >> Using response 5.000000000000000D+00
Enter longitude for cylinder origin [-9.000000000000000D+01] >> Using default -9.000000000000000D+01
Enter angle between axis and N pole [-9.000000000000000D+01] >>
>>> RESPONSE ERROR <<<
Did not understand your response
This is error 1 of 5 errors allowed
Please try again.
Enter angle between axis and N pole [-9.000000000000000D+01] >>
>>> RESPONSE ERROR <<<
Did not understand your response
This is error 2 of 5 errors allowed
Please try again.
Enter angle between axis and N pole [-9.000000000000000D+01] >>
>>> RESPONSE ERROR <<<
Did not understand your response
This is error 3 of 5 errors allowed
Please try again.
Enter angle between axis and N pole [-9.000000000000000D+01] >> Using response 3.000000000000000D+00
Enter latitude for X-Y origin [ 3.000000000000000D+01] >> Using response 5.000000000000000D+00
Enter longitude for X-Y origin [-9.000000000000000D+01] >> Using default -9.000000000000000D+01
Enter cell size DX (m) [ 5.000000000000000D+04] >> Using default 5.000000000000000D+04
Enter cell size DY (m) [ 5.000000000000000D+04] >> Using default 5.000000000000000D+04
Grid corners are given in terms of map-projection units
(meters, for everything except LL) from the Cartesian
origin, and specify the lower-left corner of cell (1,1).
Enter starting grid corner X [ 0.000000000000000D+00] >>
>>> RESPONSE ERROR <<<
Did not understand your response
This is error 1 of 5 errors allowed
Please try again.
Enter starting grid corner X [ 0.000000000000000D+00] >>
*** ERROR ABORT in subroutine M3PROMPT
END-OF-FILE encountered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment