wip: debug
This commit is contained in:
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "Batman",
|
||||
"name": "batman",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
||||
28
src/Main.fs
28
src/Main.fs
@@ -102,6 +102,7 @@ type CoastArgs =
|
||||
| Rmax _ -> "Maximum topographic slope parameter"
|
||||
| Obc _ -> "Minimum, maximum obc index on boundary"
|
||||
|
||||
<<<<<<< Updated upstream
|
||||
// type CropArgs =
|
||||
// | Rawfile of string
|
||||
// | Xmin of float
|
||||
@@ -118,14 +119,37 @@ type CoastArgs =
|
||||
// | Ymin _ -> "Minimum latitude of bounding box"
|
||||
// | Ymax _ -> "Maximum latitude of bounding box"
|
||||
// | Outfile _ -> "Output filename"
|
||||
=======
|
||||
type CropArgs =
|
||||
| Rawfile of string
|
||||
| Xmin of float
|
||||
| Xmax of float
|
||||
| Ymin of float
|
||||
| Ymax of float
|
||||
| Outfile of string
|
||||
interface IArgParserTemplate with
|
||||
member this.Usage =
|
||||
match this with
|
||||
| Rawfile _ -> "Filename of raw data file without zero depth at coast"
|
||||
| Xmin _ -> "Minimum longitude of bounding box"
|
||||
| Xmax _ -> "Maximum longitude of bounding box"
|
||||
| Ymin _ -> "Minimum latitude of bounding box"
|
||||
| Ymax _ -> "Maximum latitude of bounding box"
|
||||
| Outfile _ -> "Output filename"
|
||||
>>>>>>> Stashed changes
|
||||
|
||||
type Arguments =
|
||||
| [<CliPrefix(CliPrefix.None)>] Raw of ParseResults<RawArgs>
|
||||
| [<CliPrefix(CliPrefix.None)>] Res of ParseResults<ResArgs>
|
||||
| [<CliPrefix(CliPrefix.None)>] Dep of ParseResults<DepArgs>
|
||||
| [<CliPrefix(CliPrefix.None)>] Coast of ParseResults<CoastArgs>
|
||||
<<<<<<< Updated upstream
|
||||
// | [<CliPrefix(CliPrefix.None)>] Crop of ParseResults<CropArgs>
|
||||
| Data_Dir
|
||||
=======
|
||||
| [<CliPrefix(CliPrefix.None)>] Crop of ParseResults<CropArgs>
|
||||
| Data_Dir of path: string
|
||||
>>>>>>> Stashed changes
|
||||
interface IArgParserTemplate with
|
||||
member this.Usage =
|
||||
match this with
|
||||
@@ -133,7 +157,11 @@ type Arguments =
|
||||
| Res _ -> "Create resolution field for gridding"
|
||||
| Dep _ -> "Interpolate to FVCOM grid and smooth"
|
||||
| Coast _ -> "Create coastal resolution for gridding"
|
||||
<<<<<<< Updated upstream
|
||||
// | Crop _ -> "Crop rawfile"
|
||||
=======
|
||||
| Crop _ -> "Crop rawfile"
|
||||
>>>>>>> Stashed changes
|
||||
| Data_Dir _ -> "Data dir"
|
||||
|
||||
let colorizer =
|
||||
|
||||
Reference in New Issue
Block a user