wip: debug

This commit is contained in:
Ole Anders Nøst
2024-02-19 20:27:22 +01:00
parent 6186a0c1b3
commit 5b0e2b5c78
2 changed files with 29 additions and 1 deletions

2
package-lock.json generated
View File

@@ -1,5 +1,5 @@
{
"name": "Batman",
"name": "batman",
"lockfileVersion": 2,
"requires": true,
"packages": {

View File

@@ -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 =